mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Always use mimalloc as the global allocator
This commit is contained in:
parent
fb2b6c0c28
commit
20be69e1b9
10 changed files with 10 additions and 22 deletions
|
@ -5,9 +5,8 @@ use heed::{CompactionOption, Env, EnvOpenOptions};
|
|||
use structopt::StructOpt;
|
||||
use Command::*;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
#[derive(Debug, StructOpt)]
|
||||
/// Some helpers commands for milli.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue