Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

0.2.2

Choose a tag to compare

@bodil bodil released this 16 Dec 16:52
· 29 commits to master since this release
v0.2.2
f659f97

ADDED

  • You can now Pool::cast() a pool handle into a pool handle for a different type, allowing you to construct values of multiple types from the same pool, provided they are of the exact same size and alignment.
  • Pools of size 0 are now represented by null pointers, meaning they allocate nothing. It also means Option<Pool> is no longer identical in size to Pool, but PoolRef still retains that property. A Pool of size 0 is also conceptually identical to the None value of an Option<Pool>, except you can use it to construct values without having to unwrap it first, so there's no good reason you should ever need Option<Pool>.