Documentation ¶
Index ¶
Constants ¶
View Source
const Imported = true
Variables ¶
View Source
var ( Bytes = NewByteSlice(32, 64<<10) Buffer = buf.NewBytesPool(32, 64<<10) )
Functions ¶
func AcquireWaitGroup ¶
func NewByteSlice ¶
func NewByteSlice(min, max int) *byteSlicePool
NewByteSlice creates new byteSlicePool that reuses objects which size is in logarithmic range [min, max].
Note that it is a shortcut for Custom() constructor with Options provided by WithLogSizeMapping() and WithLogSizeRange(min, max) calls.
func ReleaseTimer ¶
func ReleaseWaitGroup ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.