Versions in this module Expand all Collapse all v0 v0.0.1 Sep 24, 2026 Changes in this version + type FreeList struct + func NewFreeList[T any](maxIdle int, newFn func() *T, resetFn func(*T) error) *FreeList[T] + func (l *FreeList[T]) Get() *T + func (l *FreeList[T]) Put(v *T) + type Pool struct + func New[T any](newFn func() *T, resetFn func(*T) error) *Pool[T] + func (p *Pool[T]) Get() *T + func (p *Pool[T]) Put(v *T) + type RatchetTrim struct + Factor int + Floor int + Strikes int + func DefaultRatchetTrim() RatchetTrim + func (t *RatchetTrim) Due(retained, used int) bool