go-libp2p/core
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
..
canonicallog switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
connmgr switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
control add connection gating interfaces and types. (#139) 2020-05-13 13:15:38 +01:00
crypto crypto: add better support for alternative backends (#1686) 2022-08-19 00:13:18 -07:00
discovery switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
event switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
host switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
internal/catch feat: harden encoding/decoding functions against panics (#243) 2022-04-18 12:40:37 -07:00
introspection switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
metrics switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
network rcmgr: make it possible to embed the NullResourceManager 2022-10-24 13:24:04 +01:00
peer chore: preallocate slices (#1842) 2022-11-06 04:48:40 -08:00
peerstore core/peerstore: removed unused provider addr ttl constant (#1848) 2022-10-31 14:41:35 -07:00
pnet remove the Protector interface, introduce a PSK type (#118) 2020-03-06 17:18:20 -08:00
protocol deprecate Negotiator.NegotiateLazy (#249) 2022-04-22 13:02:18 -07:00
record switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
routing switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
sec tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00
test switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
transport Add Resolver interface to transport (#1719) 2022-09-13 09:36:26 -07:00
alias.go switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00