| Crates.io | mimalloc-rs |
| lib.rs | mimalloc-rs |
| version | 0.1.0 |
| created_at | 2019-06-23 07:13:44.564069+00 |
| updated_at | 2019-06-23 07:13:44.564069+00 |
| description | This crate adds if-else expression into your constant functions |
| homepage | |
| repository | https://github.com/playXE/mimalloc-rs |
| max_upload_size | |
| id | 142953 |
| size | 4,225 |
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));
}