go-libp2p/p2p/discovery/routing
Håvard Anda Estensen 21dc42bd72
chore: preallocate slices (#1842)
* 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 much
2022-11-06 04:48:40 -08:00
..
routing.go switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
routing_test.go chore: preallocate slices (#1842) 2022-11-06 04:48:40 -08:00