Skip to content

1.0.0

Latest

Choose a tag to compare

@EgorShesterikov EgorShesterikov released this 20 Jun 15:23

Pooling 1.0.0 — Initial Release

Lightweight generic object pool for Unity and pure C# projects. No Unity dependencies — works anywhere C# runs.

Added

  • Pool<T> — single-type pool with Get, Release, Discard, DiscardAll, and Prewarm. Exposes read-only Free / Occupied collection views and optional actionOnGet, actionOnRelease, actionOnDiscard callbacks.
  • MultiPool<TKey, TValue> — multi-type pool keyed by an arbitrary TKey; delegates per-key lifecycle to an internal Pool<TValue>. Throws a descriptive KeyNotFoundException on Get for an unregistered key.
  • Namespace SST.Pooling — both classes live under an Assembly Definition-backed namespace.
  • Bilingual README — EN and RU docs covering API reference, lifecycle, and three install paths: .unitypackage, UPM git URL, and manual copy.