rusty_alloc_api
The safe Rust surface over rusty_alloc,
a pure-Rust remake of mimalloc.
Status: 0.3.0 — a 0.x release. See the
rusty_alloc crate page for exactly
what has and has not been measured — in particular, there is no wall-clock
evidence yet and therefore no speed claim.
What it gives you
GlobalAlloc— drop it in as#[global_allocator].- First-class heaps — create independent heaps, allocate from them, destroy them wholesale.
Allocator— the unstableallocator_apitrait, behind a feature.
use RustyAlloc;
static ALLOC: RustyAlloc = RustyAlloc;
Features
debug_checks, secure, profile — each forwards to the identically-named
feature on rusty_alloc.
License
MIT. See LICENSE at the repository root.