The bufferpool package implements a thread-safe pool of reusable, equally sized byte.Buffers.
If you're allocating byte.Buffers very frequently, you can use this to speed up your
program and take strain off the garbage collector.
The bufferpool package implements a thread-safe pool of reusable, equally sized byte.Buffers.
If you're allocating byte.Buffers very frequently, you can use this to speed up your
program and take strain off the garbage collector.