package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Apr 16, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ring_buffer implement buffer cache pool to improve memory reuse.
Get the ringBuffer pool will return []byte of size is the first value greater than or equal its 2^n.
newCap between 1 byte. and 512 mb。
Put if buf is legal then it will be put into the buffer pool.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.