1 stable release

2.1.2 Dec 4, 2023

#571 in Memory management


Used in cesium-allocator

GPL-3.0-only

1MB
16K SLoC

C 10K SLoC // 0.2% comments Visual Studio Project 3.5K SLoC JavaScript 2.5K SLoC // 0.1% comments Rust 321 SLoC // 0.0% comments C++ 294 SLoC // 0.1% comments Visual Studio Solution 233 SLoC

Contains (Windows DLL, 69KB) mimalloc-src/bin/mimalloc-redirect.dll, (Windows DLL, 42KB) mimalloc-src/bin/mimalloc-redirect32.dll, (DOS exe, 21KB) mimalloc-src/bin/minject.exe, (DOS exe, 19KB) mimalloc-src/bin/minject32.exe, (static library, 3KB) mimalloc-src/bin/mimalloc-redirect.lib, (static library, 3KB) mimalloc-src/bin/mimalloc-redirect32.lib

Cesium Allocator

docs.rs Crates.io

This is an idiomatic and quality of life wrapper on top of mimalloc. The only changes to the underlying library are basic type wrappers. The underlying FFI library, cesium-libmimalloc-sys, is based very heavily on Purple Protocol's mimalloc_rust wrapper, but with some reorganization as there are a lot of methods.

Happy allocating!

Dependencies