use_mimalloc

Macro use_mimalloc 

Source
macro_rules! use_mimalloc {
    ($(,)?) => { ... };
}
Expand description

Install MiMalloc as global allocator.

To use the allocator in your program, simply add this line to your main.rs:

system_mimalloc::use_mimalloc!();