Documentation
¶
Overview ¶
Package xsync provides strongly typed concurrency primitives.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool[T any] struct { // contains filtered or unexported fields }
Pool is a generic wrapper around sync.Pool. It enforces zero-allocation object reuse by eliminating the interface{} (any) boxing and type assertion overhead required by the standard library pool.
Click to show internal directories.
Click to hide internal directories.