Crates.io | mimalloc-rust |
lib.rs | mimalloc-rust |
version | 0.2.1 |
source | src |
created_at | 2021-08-13 07:08:57.918817 |
updated_at | 2023-04-27 10:22:54.641289 |
description | the best binding for mimalloc in rust |
homepage | |
repository | https://github.com/lemonhx/mimalloc-rust |
max_upload_size | |
id | 435565 |
size | 18,160 |
mimalloc 1.7.9 stable
in repo https://github.com/purpleprotocol/mimalloc_rust
i didn't see any data types and it neither has all the functionalities which mimalloc has provided, in other words it's garbage.
first add to dependencies
[dependencies]
mimalloc-rust = "0.2.1"
then set the global allocator
use mimalloc_rust::*;
#[global_allocator]
static GLOBAL_MIMALLOC: GlobalMiMalloc = GlobalMiMalloc;