feat(remoteingress-bin): use mimalloc as the global allocator to reduce memory overhead and improve allocation performance

This commit is contained in:
2026-02-26 17:39:40 +00:00
parent 3474e8c310
commit 1aae4b8c8e
5 changed files with 32 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
use clap::Parser;
use serde::{Deserialize, Serialize};
use std::sync::Arc;