Expand description
This module is experimental
This module provides threadsafe versions of FrozenMap and FrozenVec, ideal for use as a cache.
These lock internally, however locks only last as long as the method calls
Structsยง
- FrozenB
Tree Map - Append-only threadsafe version of
std::collections::BTreeMapwhere insertion does not require mutable access - Frozen
Map - Append-only threadsafe version of
std::collections::HashMapwhere insertion does not require mutable access - Frozen
Vec - Append-only threadsafe version of
std::vec::Vecwhere insertion does not require mutable access - Iter
- Iterator over FrozenVec, obtained via
.iter() - Lock
Free Frozen Vec - Append-only threadsafe version of
std::vec::Vecwhere insertion does not require mutable access. Does not lock for reading, only allowsCopytypes and will spinlock on pushes without affecting reads. Note that this data structure is34pointers large on 64 bit systems, in contrast toVecwhich is3pointers large.