Crates.io | multi-stash |
lib.rs | multi-stash |
version | 0.2.0 |
source | src |
created_at | 2023-11-17 18:03:13.706756 |
updated_at | 2023-11-18 15:26:11.636437 |
description | Vector-based arena data structure that reuses vacant slots. |
homepage | |
repository | https://github.com/robbepop/multi-stash |
max_upload_size | |
id | 1039334 |
size | 43,465 |
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
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.