Releases: LPGhatguy/thunderdome
Releases · LPGhatguy/thunderdome
v0.5.0
v0.4.2
v0.4.1
v0.4.0
Changes Since 0.3.0
- Added
Index::slot
for extracting the slot portion of an index. - Added
Arena::contains_slot
for checking whether a slot is occupied in a givenArena
and resolving itsIndex
if so. - Added
Arena::get_by_slot
andArena::get_by_slot_mut
for retrieving an entry by its slot, ignoring generation. - Added
Arena::remove_by_slot
for removing an entry by its slot, ignoring generation. - Added
Arena::contains
for checking whether anIndex
is valid for a givenArena
. - Added
Arena::retain
for conveniently removing entries which do not satisfy a given predicate. - Fix
Arena::iter_mut
to return mutable references.
v0.2.0
Changes Since 0.1.1
- Bumped MSRV to 1.34.1.
- Reduced size of
Index
by limitingArena
to 2^32 elements and 2^32 generations per slot.- These limits should not be hit in practice, but will consistently trigger panics.
- Changed generation counter to wrap instead of panic on overflow.
- Collisions where an index using the same slot and a colliding generation on [1, 2^32] should be incredibly unlikely.