smp persist history | bench 1632393

This commit is contained in:
rektdie committed 2026-10-06 18:03:08 +02:00
1 parent cae93f13a5
commit cd2265a46b
2 files changed
+21 -6

No files matched your search

+8
View File
@@ -272,6 +272,14 @@ public:
ss = {};
positionHistory.resize(1000);
}
void CopyLearningFrom(const SearchContext& other) {
history = other.history;
conthist = other.conthist;
corrhist = other.corrhist;
capthist = other.capthist;
killerMoves = other.killerMoves;
}
};
bool SEE(Board& board, Move& move, int threshold);