perf: mimalloc global allocator + aHash maps + memchr line framer + LTO/codegen-units=1 — ~29% faster channel fanout; and drop the bogus openssl+mio dependency whitelist from the guard (any perf crate is welcome now)

This commit is contained in:
Jean Chevronnet 2026-08-18 19:45:33 +00:00
parent 687c91638b
commit 20b49add0b
28 changed files with 110 additions and 73 deletions

View file

@ -11,12 +11,12 @@ pub mod core_rehash;
pub mod core_user;
pub mod core_watch;
use std::collections::HashMap;
use crate::map::HashMap;
use crate::command::Command;
pub fn command_table() -> HashMap<&'static str, Box<dyn Command>> {
let mut m: HashMap<&'static str, Box<dyn Command>> = HashMap::new();
let mut m: HashMap<&'static str, Box<dyn Command>> = HashMap::default();
for c in core_user::commands()
.into_iter()
.chain(core_channel::commands())