sparse_set

Crates.iosparse_set
lib.rssparse_set
version0.8.2
sourcesrc
created_at2022-07-04 13:21:28.218511
updated_at2023-07-27 18:13:31.999392
descriptionImplementation of the sparse set data structure
homepage
repositoryhttps://github.com/sgodwincs/sparse_set
max_upload_size
id618962
size158,619
Scott Godwin (sgodwincs)

documentation

README

Sparse Set

Crates.io Docs.rs CI

This crate is a sparse set implementation.

This won't go into detail on what it is, but instead I'll recommend reading https://research.swtch.com/sparse for a nice, succinct description.

One thing to note is that a separate buffer is used to store the actual indices. This makes a tradeoff between value insertion/removal and iteration speed.

Nightly is required and I have no motivation to change it as I use this crate for other projects on nightly.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Commit count: 121

cargo fmt