3 releases
new 0.1.2 | Oct 4, 2024 |
---|---|
0.1.1 | Sep 30, 2024 |
0.1.0 | Sep 6, 2024 |
#416 in Memory management
403 downloads per month
44KB
2K
SLoC
shalloc
This crate implements the GlobalAlloc
trait for supahero1's allocator written in C.
See the README in supahero1's repo for more details.
Usage
#[global_allocator]
static ALLOCATOR: shalloc::Shalloc = shalloc::Shalloc;
Benchmark
A benchmark is available at https://github.com/supahero1/alloc
No runtime deps
~0–2MB
~41K SLoC