connected TT to search

This commit is contained in:
rektdie committed 2025-02-27 03:47:56 +01:00
1 parent f3cedadbb4
commit defba40979
4 files changed
+28 -10

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
#pragma once
#include "board.h"
#include "search.h"
// 5 MB
constexpr int hashSize = 0x500000;
@@ -28,5 +29,5 @@ public:
extern TTEntry TTable[hashSize];
int ReadEntry(U64 &hashKey, int depth, int alpha, int beta);
SearchResults ReadEntry(U64 &hashKey, int depth, int alpha, int beta);
void WriteEntry(U64 &hashKey, int depth, int score, int nodeType);