encapsulated TT | bench 1857933

This commit is contained in:
rektdie committed 2025-04-12 22:43:39 +02:00
1 parent c08c545335
commit 53f6ae17bc
7 files changed
+43 -49

No files matched your search

-5
View File
@@ -4,7 +4,6 @@
#include "benchmark.h"
#include "search.h"
#include "stopwatch.h"
#include "tt.h"
using namespace SEARCH;
@@ -66,9 +65,6 @@ void RunBenchmark() {
int depth = BENCH_DEPTH;
int ply = 0;
// Clearing
TT.Clear();
SearchContext ctx;
Stopwatch sw;
@@ -78,5 +74,4 @@ void RunBenchmark() {
}
std::cout << ctx.nodes << " nodes " << int(ctx.nodes/sw.GetElapsedSec()) << " nps" << std::endl;
TT.Clear();
}