From 372f21ee38f1f62bfe32b84cba16146970f93187 Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 27 May 2025 18:13:54 +0200 Subject: [PATCH 1/3] decreased TT entry size | bench 5787071 --- source/tt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tt.h b/source/tt.h index 088faaf..703a78d 100644 --- a/source/tt.h +++ b/source/tt.h @@ -22,10 +22,10 @@ public: class TTEntry { public: U64 hashKey = 0; - int depth = 0; - int score = 0; int nodeType = 0; + uint16_t score = 0; Move bestMove = Move(); + uint8_t depth = 0; operator U64() { return hashKey; -- 2.47.3 From 546a330e1e52b65cf6039d4ac349e9169fa2c9cd Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 27 May 2025 18:24:39 +0200 Subject: [PATCH 2/3] forgot to change nodeType size | bench 6063109 --- source/tt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tt.h b/source/tt.h index 703a78d..c9ea105 100644 --- a/source/tt.h +++ b/source/tt.h @@ -22,10 +22,10 @@ public: class TTEntry { public: U64 hashKey = 0; - int nodeType = 0; uint16_t score = 0; Move bestMove = Move(); uint8_t depth = 0; + uint8_t nodeType = 0; operator U64() { return hashKey; -- 2.47.3 From e8a7af5e24deb612d958c1f6b192947a5e62c368 Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 27 May 2025 18:28:25 +0200 Subject: [PATCH 3/3] accidentally made score unsigned | bench 4754314 --- source/tt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tt.h b/source/tt.h index c9ea105..4c08a67 100644 --- a/source/tt.h +++ b/source/tt.h @@ -22,7 +22,7 @@ public: class TTEntry { public: U64 hashKey = 0; - uint16_t score = 0; + int16_t score = 0; Move bestMove = Move(); uint8_t depth = 0; uint8_t nodeType = 0; -- 2.47.3