mirror of https://github.com/vacp2p/nim-libp2p.git
6f1ecc8df7
* streamline socket read/write hot path This avoids some unnecessary memory copying on the hot path of noise / mplex, as well as getting rid of a few futures - profiling shows that this is one of the main culprits of small memory allocations, which makes sense - this is where gossip fan-out happens. * fewer futures (and corresponding closures) when sending lpchannel messages * avoid data copies when encrypting and framing noise messages * avoid copying tuple when reading noise data (poor c codegen) * fix setting eof flag in secure read * write noise frames in one go ...and closing secure socket once is enough |
||
---|---|---|
.. | ||
crypto | ||
daemon | ||
muxers | ||
protobuf | ||
protocols | ||
stream | ||
transports | ||
cid.nim | ||
connmanager.nim | ||
debugutils.nim | ||
errors.nim | ||
multiaddress.nim | ||
multibase.nim | ||
multicodec.nim | ||
multihash.nim | ||
multistream.nim | ||
peerid.nim | ||
peerinfo.nim | ||
standard_setup.nim | ||
switch.nim | ||
transcoder.nim | ||
utility.nim | ||
varint.nim | ||
vbuffer.nim | ||
wire.nim |