Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPool = NewBytesPool()
DefaultPool is a default BytesBool instance.
Functions ¶
This section is empty.
Types ¶
type BytesPool ¶
type BytesPool struct {
// contains filtered or unexported fields
}
BytesPool maintains large bytes pools, used for reducing memory allocation. It has a slice of pools which handle different size of bytes. Can be safely used concurrently.
Click to show internal directories.
Click to hide internal directories.