Skip to content

wasmx/qimalloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages