Skip to content

playXE/mimalloc-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mimalloc-rs

mimalloc bindings for Rust.

Using as global allocator:

#[global_allocator]
static A: mimalloc_rs::MiMalloc = mimalloc_rs::MiMalloc;


fn main() {
    let mut v = Vec::with_capacity(256);

    for _ in 0..100 {
        v.push(String::from("wow"));
    }
    v.iter().for_each(|x| println!("{}",x));
}

About

mimalloc wrapper for Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages