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§

index
Defines types and implementations for indexing the sparse set data structure.
sparse_set
A sparsely populated set, written SparseSet<I, T>, where I is the index type and T is the value type.
sparse_vec
A sparsely populated vector, written SparseVec<I, T>, where I is the index type and T is the value type.