This crate offers an abstraction over allocating fixed-size chunks of memory and different low-level collection types making use of these chunks to emulate "infinite" dynamically growing storages for heterogeneously-sized items.
Its purpose is being able to abstract storage of entity-collections
(such as actors in
Kay) over both temporary heap memory and persistent
mmap'ed memory used for both runtime and savegames.
Stores items of a fixed (max) size consecutively in a collection of chunks
Refers to an item within an
Identifies a chunk or chunk group uniquely - to be used for persistence
Based on a collection type for fixed-size items ("Bin"), creates a collection for heterogenously-sized items which will be stored in the most appropriately-sized bin.
Refers to an item in a
A FIFO queue which stores heterogeneously sized items
A single value stored in a chunk
A vector which stores items of a known type in an
A strategy for managing chunks