mimalloc-rust

Crates.iomimalloc-rust
lib.rsmimalloc-rust
version0.2.1
sourcesrc
created_at2021-08-13 07:08:57.918817
updated_at2023-04-27 10:22:54.641289
descriptionthe best binding for mimalloc in rust
homepage
repositoryhttps://github.com/lemonhx/mimalloc-rust
max_upload_size
id435565
size18,160
LemonHX.eth (LemonHX)

documentation

README

The Best and Highest-Leveled and Newest binding for MiMalloc Ever Existed in Rust

mimalloc 1.7.9 stable

ci doc.rs crates.io

Why create this

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.

Usage

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;
Commit count: 25

cargo fmt