package
1.3.6
Repository: https://github.com/undertreetech/waterdrop.git
Documentation: pkg.go.dev

# README

xbuffer

  1. BufferPool Based on sync.Pool, sync.Pool automatically GC's objects.

  2. SizedBufferPool Based channel, creates a new BufferPool bounded to the given size. objects in this pool are alive along with the application life cycle.

# Functions

NewBufferPool creates a new BufferPool bounded to the given buffer size.
SizedBufferPool creates a new BufferPool bounded to the given size.

# Structs

BufferPool buffer pool definition.
SizedBufferPool sized buffer pool definition.