From 345c6d21d9226ee0b348f173dbeb10bcb6a49a63 Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 3 Mar 2026 20:45:18 +0100 Subject: [PATCH] separate tt for datagen | bench 1743358 --- source/datagen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/datagen.cpp b/source/datagen.cpp index dad1684..d174dca 100644 --- a/source/datagen.cpp +++ b/source/datagen.cpp @@ -374,7 +374,9 @@ static void PlayGames(int id, std::atomic& positions, std::atomic& st try { while (!stopFlag && !g_shutdownRequested) { Board board; + TTable DatagenTT; auto ctx = std::make_unique(); + ctx->TT = &DatagenTT; PlayRandMoves(board, ctx.get()); if (IsGameOver(board, ctx.get())) continue;