Use mimalloc for benchmarks on all platforms

This commit is contained in:
Loïc Lecrenier 2022-08-10 16:56:42 +02:00
parent 8f73251012
commit fb2b6c0c28
6 changed files with 0 additions and 31 deletions

View file

@ -14,11 +14,6 @@ use rand::seq::SliceRandom;
use rand_chacha::rand_core::SeedableRng;
use roaring::RoaringBitmap;
#[cfg(target_os = "linux")]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
#[cfg(target_os = "macos")]
#[global_allocator]
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;