This repository was archived by the owner on May 3, 2026. It is now read-only.
0.2.0
CHANGED
- The pool is now reference counted, which means your
PoolRefs won't suddenly become dangerously invalid when the pool goes out of scope. This also means that you can now clone aPooland get another reference to the same pool.
ADDED
- There are now both
Syncand!Syncversions of the pool. The latter, inrefpool::unsync::Pool, is as performant as previously, while the thread safe version inrefpool::sync::Poolis roughly 5-10x slower, but still manages to be about 25% faster than the Windows system allocator. You should prefer not to use it on platforms with faster system allocators, such as Linux. To enable the thread safe version, use thesyncfeature flag. - A method
Pool::fill()has been added, which preallocates memory chunks to the capacity of the pool.