From 63f5fafd7cbbf0e0386ef419b126f4de5b238f4d Mon Sep 17 00:00:00 2001 From: Micha White Date: Tue, 10 Oct 2023 16:33:53 -0400 Subject: Use mimalloc --- engine/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engine/src/main.rs') diff --git a/engine/src/main.rs b/engine/src/main.rs index 245bd97..8e438fd 100644 --- a/engine/src/main.rs +++ b/engine/src/main.rs @@ -1,4 +1,8 @@ use engine::{current_evaluation, CheckersBitBoard, TranspositionTable}; +use mimalloc::MiMalloc; + +#[global_allocator] +static ALLOCATOR: MiMalloc = MiMalloc; const DEPTH: u8 = 18; -- cgit v1.2.3