Revert "encapsulated TT"

This reverts commit 8ca878275a.
This commit is contained in:
rektdie committed 2025-04-12 00:52:52 +02:00
1 parent 0242eec87d
commit 43dc63cdf3
6 files changed
+26 -28

No files matched your search

+7 -5
View File
@@ -6,8 +6,6 @@
#include <algorithm>
#include "stopwatch.h"
class TTable;
namespace SEARCH {
enum searchMode {
@@ -113,15 +111,19 @@ public:
PVLine pvLine;
History history;
TTable* TT;
std::array<std::array<int, MAX_PLY>, 2> killerMoves{};
std::array<U64, 1000> positionHistory;
Stopwatch sw;
SearchContext();
~SearchContext();
SearchContext(){
pvLine.Clear();
history.Clear();
sw.Restart();
killerMoves = {};
positionHistory = {};
}
};
template <bool isPV, searchMode mode>