Skip to content

Commit 12d4beb

Browse files
authored
Store intermediate search results into TT (#853)
STC, 1-thread: Elo | -3.61 +- 3.36 (95%) SPRT | 8.0+0.08s Threads=1 Hash=16MB LLR | -2.25 (-2.25, 2.89) [0.00, 3.00] Games | N: 10492 W: 2632 L: 2741 D: 5119 Penta | [51, 1215, 2802, 1148, 30] https://recklesschess.space/test/13134/ VSTC, 8-thread: Elo | 3.99 +- 2.78 (95%) SPRT | 5.0+0.05s Threads=8 Hash=256MB LLR | 2.92 (-2.25, 2.89) [0.00, 4.00] Games | N: 14188 W: 3619 L: 3456 D: 7113 Penta | [17, 1529, 3841, 1688, 19] https://recklesschess.space/test/13116/ Bench 3085009
1 parent 0f12e6c commit 12d4beb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/search.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,10 @@ fn search<NODE: NodeType>(
966966

967967
alpha = score;
968968

969+
if !(NODE::ROOT && td.pv_index > 0) && mv != tt_move {
970+
td.shared.tt.write(hash, depth, raw_eval, score, Bound::Lower, mv, ply, true, false);
971+
}
972+
969973
if !is_decisive(score) {
970974
alpha_raises += 1;
971975
}

0 commit comments

Comments
 (0)