An IPFS implementation in Go
Go to file
Steven Allen d54cf20f79 gx: update go-buffer-pool
Turns out that `pool.Put(buf)` had to *allocate* because we needed to turn
`[]byte` into `interface{}`. Apparently, we've never done this correctly we just
never noticed because we never really used buffer pools extensively.

However, since migrating yamux to a buffer-pool backed buffer, this started
showing up in allocation profiles.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>


This commit was moved from ipfs/interface-go-ipfs-core@54fd5775db

This commit was moved from ipfs/boxo@2bda31a93a
2018-10-10 14:11:31 +01:00
core/coreiface gx: update go-buffer-pool 2018-10-10 14:11:31 +01:00