go-libp2p/p2p/discovery
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
..
backoff switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
mdns switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
mocks switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
routing chore: preallocate slices (#1842) 2022-11-06 04:48:40 -08:00
util chore: preallocate slices (#1842) 2022-11-06 04:48:40 -08:00