Releases: zslayton/lifeguard
Releases · zslayton/lifeguard
v0.6.1
v0.5.2
v0.5.1
v0.5.0
- First release of the
PoolBuilder
API, exposing settings likeStartingSize
,MaxSize
andSupplier
- A
Supplier
can now be specified to generate new values when the pool is empty. This allows values being generated to be affected by runtime configuration and decision-making rather than depending on values baked into theT
values in aPool<T>
.
v0.4.0
v0.3.0
v0.2.0
- @Marwes added the ability to get values from the pool that are managed by a simple
&
instead of anRc
. This is now the default system represented by theRecycled
type since it has the least overhead. The original behavior is retained in theRcRecycled
smartpointer type. - Added benchmarks, tests for the new smartpointer.
Pool::with_size
now takes ausize
rather than au32
to be consistent withstd::collections
.