mirror of https://github.com/libp2p/go-libp2p.git
Browse Source
* Preallocate slices * Move slice allocs to right before they're used * Revert slice assignments to append * Don't preallocate for tests or deprecated code * Don't preallocate too muchpull/1857/head
Håvard Anda Estensen
2 years ago
committed by
GitHub
6 changed files with 9 additions and 19 deletions
Loading…
Reference in new issue