multi-stash 0.2.0

Vector-based arena data structure that reuses vacant slots.
Documentation
  • Coverage
  • 95.65%
    22 out of 23 items documented0 out of 19 items with examples
  • Size
  • Source code size: 43.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.23 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Robbepop/multi-stash
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Robbepop

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.