3 unstable releases
0.2.1 | Nov 23, 2021 |
---|---|
0.2.0 | Nov 23, 2021 |
0.1.0 | Nov 13, 2021 |
#569 in Memory management
Used in hv-elastic
11KB
152 lines
Heavy Stampede - Bumpalo-based arena allocation utilities for Heavy
Types implemented around bumpalo::Bump
for Sync
bump allocation.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
Heavy Stampede - a friendly herd of bumpalo
s, with extra features
This crate builds on and reexports most things from the bumpalo
crate. In implementation and
usage, it is very similar to the bumpalo-herd
crate, but supports some operations that Herd
does not:
BumpPool
supports temporarily detaching aBump
from the pool throughPooledBump::detach
, locking it to the thread it was detached in until it is dropped and returned to the pool.PooledBump::as_bump_unbound
, unsafe access to the managedBump
inside.
Dependencies
~390KB