#memory-allocator #production #bene-alloc

nightly benemalloc

WIP: A fast, general-purpose memory allocator for Rust

2 releases

0.1.1-BETA May 27, 2024
0.1.0-BETA May 27, 2024

#482 in Memory management

GPL-3.0-only

13KB
176 lines

benemalloc

A fast memory allocator for Rust.

[!Caution] This is currently a research project and is not useable in production. Use it at your own risk!

Usage

cargo add benemalloc
use benemalloc::BeneAlloc;

#[global_allocator]
static ALLOCATOR: BeneAlloc = BeneAlloc::new();

License

GPL-3.0


lib.rs:

This is a simple memory allocator written in Rust.

Dependencies

~0–23MB
~319K SLoC