2 unstable releases
0.2.0 | Nov 18, 2023 |
---|---|
0.1.0 | Nov 17, 2023 |
#1824 in Data structures
202,816 downloads per month
Used in 68 crates
(2 directly)
29KB
628 lines
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.