Home

Awesome

qimalloc

Build Version

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!

Usage

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;

Maintainer(s)

License

Apache 2.0