multi-stash

Crates.iomulti-stash
lib.rsmulti-stash
version0.2.0
sourcesrc
created_at2023-11-17 18:03:13.706756
updated_at2023-11-18 15:26:11.636437
descriptionVector-based arena data structure that reuses vacant slots.
homepage
repositoryhttps://github.com/robbepop/multi-stash
max_upload_size
id1039334
size43,465
Robin Freyler (Robbepop)

documentation

https://docs.rs/multi-stash/

README

MultiStash

A vector-like data structure that is able to reuse slots for new elements.

Specifically allows for (armortized) O(1) instructions for:

  • MultiStash::put
  • MultiStash::take_one
  • MultiStash::take_all
  • MultiStash::get
  • MultiStash::get_mut

License

multi-stash is primarily distributed under the terms of both the MIT license and the APACHE license (Version 2.0), at your choice.

See LICENSE-APACHE and LICENSE-MIT for details.

Commit count: 16

cargo fmt