From 8c7c2906725ff7b98c11050d845885a3b3af20d7 Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 11 Mar 2025 11:23:38 +0100 Subject: [PATCH] changed max hash to 64 | bench 4118297 --- source/tt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tt.h b/source/tt.h index 63731ee..872990c 100644 --- a/source/tt.h +++ b/source/tt.h @@ -30,10 +30,10 @@ public: }; // 256 MB -constexpr U64 maxHash = (256 * 1000000) / sizeof(TTEntry); +constexpr U64 maxHash = (64* 1000000) / sizeof(TTEntry); +// 5 MB constexpr U64 defaultHash = (5 * 1000000) / sizeof(TTEntry); -// 5 MB inline U64 hashSize = defaultHash; constexpr int invalidEntry = 111111;