wasmx / qimalloc

Quick Incremental (Wasteful) Memory Allocator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Quick Incremental (Wasteful) Memory Allocator

License:Apache License 2.0


Languages

Language:Rust 100.0%