Skip to main content

Crate rustfs_mimalloc

Crate rustfs_mimalloc 

Source
Expand description

High-performance mimalloc V3 global allocator.

use rustfs_mimalloc::MiMalloc;

#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;

Modules§

heap
Heap and arena operations for advanced memory management.

Structs§

MiMalloc
The mimalloc global allocator.
ProcessInfo
Process memory information returned by MiMalloc::process_info.

Constants§

MI_SMALL_SIZE_MAX
Maximum byte size for mimalloc’s small allocation fast path.
MI_SMALL_WSIZE_MAX
Maximum word count for mimalloc’s small allocation fast path.

Functions§

set_current_thread_in_threadpool
Mark the current thread as part of a thread pool for mimalloc.