Crate sparse_set
source · [−]Expand description
A crate that implements the sparse set data structure.
See this article on more details behind the data structure.
Re-exports
pub use crate::index::SparseSetIndex;
pub use crate::sparse_set::SparseSet;
pub use crate::sparse_vec::SparseVec;
Modules
Defines types and implementations for indexing the sparse set data structure.
A sparsely populated set, written SparseSet<I, T>
, where I
is the index type and T
is the value type.
A sparsely populated vector, written SparseVec<I, T>
, where I
is the index type and T
is the value type.