Roll back to MiMalloc

This commit is contained in:
Ara Sadoyan
2026-06-04 17:03:19 +02:00
parent 3c99ed0c44
commit 27aca0a3a5
4 changed files with 33 additions and 50 deletions

View File

@@ -1,12 +1,10 @@
use tikv_jemallocator::Jemalloc;
mod tls;
mod utils;
mod web;
#[global_allocator]
static ALLOC: Jemalloc = Jemalloc;
// static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
// static ALLOC: Jemalloc = Jemalloc;
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
// pub static A: CountingAllocator = CountingAllocator;
fn main() {