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.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.98 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Robbepop/multi-stash
    1 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.