1 unstable release

0.1.0 May 28, 2019

#870 in WebAssembly

36 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

7KB
74 lines

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)

  • Sina Mahmoodi
  • Alex Beregszaszi

License

Apache 2.0

No runtime deps