mimalloc-rs 0.1.0

This crate adds if-else expression into your constant functions
Documentation
  • Coverage
  • 0%
    0 out of 14 items documented0 out of 2 items with examples
  • Size
  • Source code size: 4.07 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.14 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • playXE/mimalloc-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • playXE

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));
}