Quick Incremental (Wasteful) Memory Allocator.
This memory allocator will not release any memory. Its main use case is in short-lived environment, such as WebAssembly binaries.
Experimental: do not use this in any real world use case!
To use it, add it as a dependency:
[dependencies]
qimalloc = "0.1"
And override the global allocator:
#[global_allocator]
static ALLOC: qimalloc::QIMalloc = qimalloc::QIMalloc::INIT;
- Sina Mahmoodi
- Alex Beregszaszi
Apache 2.0