Expand description
Object pool for frequently allocated types.
Object pools reduce allocation overhead by reusing previously allocated objects instead of freeing and reallocating them.
Structs§
- Object
Pool - A thread-safe object pool.
- Pooled
- A wrapper around a pooled object that returns it to the pool when dropped.
Type Aliases§
- VecPool
- A specialized pool for
Vec<T>that clears vectors on return.