From 43ce3c7deb85363102d810bf8478982c956cd0fe Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 31 Aug 2022 17:21:08 +0300 Subject: feat: only recalculate higher-depth transpositions --- src/structs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/structs.h') diff --git a/src/structs.h b/src/structs.h index 643e7f2..5a60ba9 100644 --- a/src/structs.h +++ b/src/structs.h @@ -4,3 +4,8 @@ typedef struct { int value; // Estimated move value } Move; +typedef struct { + int value; // Estimated position value + int depth; // Depth -1 indicates it has not been evaluated yet +} Transposition; + -- cgit v1.2.3