0.1.5 |
|
---|---|
0.1.4 |
|
0.1.3 |
|
#112 in #arena
12KB
196 lines
pochita
A allocation arena for Rust.
Example
use pochita::DroplessArena;
fn main() {
let mut arena: DroplessArena<u8> = DroplessArena::default();
assert_eq!(arena.alloc_str("Hello World!"), "Hello World!");
assert_eq!(arena.alloc_slice_copy(b"Hello World!"), b"Hello World!");
}
Dependencies
~74KB