diff options
| author | Micha White <botahamec@outlook.com> | 2023-10-10 16:33:53 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2023-10-10 16:33:53 -0400 |
| commit | 63f5fafd7cbbf0e0386ef419b126f4de5b238f4d (patch) | |
| tree | 253ea719dc15f76c75bfede5c7af173e79e2676d /engine/src/main.rs | |
| parent | bd35448ca3fdd51f63b4a23abda8ccd427745968 (diff) | |
Use mimalloc
Diffstat (limited to 'engine/src/main.rs')
| -rw-r--r-- | engine/src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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; |
