Crate jemallocator
source ·Expand description
Bindings for jemalloc as an allocator
This crate provides bindings to jemalloc as a memory allocator for Rust.
This crate mainly exports, one type, Jemalloc, which implements the
GlobalAlloc trait and optionally the Alloc trait,
and is suitable both as a memory allocator and as a global allocator.
Modules
Raw bindings to jemalloc
Structs
Handle to the jemalloc allocator
Functions
Fetch the value of options
name.Set a value to option
name.Return the usable size of the allocation pointed to by ptr.