Compare commits

...

1 Commits

Author SHA1 Message Date
houseme a4fe30f933 feat(hotpath): use mimalloc in counting allocator 2026-08-01 01:53:07 +08:00
+2 -1
View File
@@ -14,7 +14,8 @@
#[cfg(all(feature = "hotpath", feature = "hotpath-alloc"))]
#[global_allocator]
static GLOBAL: hotpath::CountingAllocator = hotpath::CountingAllocator::new();
static GLOBAL: hotpath::CountingAllocator<mimalloc::MiMalloc> =
hotpath::CountingAllocator::new();
#[cfg(not(all(feature = "hotpath", feature = "hotpath-alloc")))]
#[global_allocator]