mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Don't insert pv back into tt
This code was added before the accurate pv patch, when we retrieved PV directly from TT. It's not required for correct (and long) PVs any more and should be safe to remove it. Also, allowing helper threads to repeatedly over-write TT doesn't seem to make sense(that was probably an un-intended side-effect of lazy smp). Before Lazy SMP only Main Thread used to run ID loop and insert PV into TT. STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 74346 W: 13946 L: 13918 D: 46482 LTC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 47265 W: 6531 L: 6447 D: 34287 bench: 8819179
This commit is contained in:
@@ -59,7 +59,6 @@ struct RootMove {
|
||||
|
||||
bool operator<(const RootMove& m) const { return m.score < score; } // Descending sort
|
||||
bool operator==(const Move& m) const { return pv[0] == m; }
|
||||
void insert_pv_in_tt(Position& pos);
|
||||
bool extract_ponder_from_tt(Position& pos);
|
||||
|
||||
Value score = -VALUE_INFINITE;
|
||||
|
||||
Reference in New Issue
Block a user