This repository was archived by the owner on May 3, 2026. It is now read-only.
Releases: bodil/sized-chunks
Releases · bodil/sized-chunks
Release list
0.5.0
CHANGED
- The
Bitmaptype (and its helper type,Bits) has been split off into a separate crate, namedbitmaps. If you need it, it's in that crate now.sized-chunksdoes not re-export it. Of course, this meanssized-chunkshas gainedbitmapsas its second hard dependency.
0.4.0
0.3.2
0.3.1
0.3.0
ADDED
- A new data structure,
InlineArray, which is a stack allocated array matching the size of a given type, intended for optimising for the case of very small vectors. Chunkhas an implementation ofFrom<InlineArray>which is considerably faster than going via iterators.
0.2.2
0.2.1
0.2.0
CHANGED
- The
capacity()method has been replacied with aCAPACITYconst on each type.
ADDED
- There is now a
RingBufferimplementation, which should be nearly a drop-in replacement forSizedChunkbut is always O(1) on push and cannot be dereferenced to slices (but it has a set of custom slice-like implementations to make that less of a drawback). - The
Drainiterator forSizedChunknow implementsDoubleEndedIterator.
FIXED
SizedChunk::drain_from_front/backwill now always panic if the iterator underflows, instead of only doing it in debug mode.
0.1.3
ADDED
SparseChunknow has a default length ofU64.Chunknow hasPartialEqdefined for anything that can be borrowed as a slice.SparseChunk<A>likewise hasPartialEqdefined forBTreeMap<usize, A>andHashMap<usize, A>. These are intended for debugging and aren't optimally `efficient.ChunkandSparseChunknow have a new methodcapacity()which returns its maximum capacity (the number in the type) as a usize.- Added an
entries()method toSparseChunk. SparseChunknow has aDebugimplementation.
FIXED
- Extensive integration tests were added for
ChunkandSparseChunk. Chunk::clearis now very slightly faster.