go-bitswap
go-bitswap copied to clipboard
Consider using object pools for internal messages.
These messages tend to have very well defined life-cycles. We should do some pprof profiling of go-ipfs and see if these messages are noticeably hitting GC (bitswap has been GC happy in the past so I'm a bit worried).
AddMessage is definitely showing up.