Documentation
¶
Overview ¶
Package bufpool implements size-classed, sharded byte-slice pools.
Buffers are bucketed by capacity, so a small Get does not receive a previously-released multi-MiB slice. The pool stores *[]byte to avoid the interface-conversion allocation that putting a []byte directly into sync.Pool incurs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.