diff options
| author | Scott Gasch <[email protected]> | 2026-08-28 11:20:50 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2026-08-28 11:20:50 -0700 |
| commit | 7e2cd40581a184b2608f5a4206f18b0d208ca099 (patch) | |
| tree | 263e1548659bde6592d406b7e72198b3288577a4 /src/book.c | |
| parent | 1a0712fee7e3fa9bcf124a942d8ef15efe4578e7 (diff) | |
Remove RescoreMovesViaSearch's dead same-ply recursive pre-call.
Before searching its own move list, RescoreMovesViaSearch called itself
recursively at an even shallower depth, at the *same* ctx->uPly, on the
theory that the extra rescore's side effects (hash/killer/history table
population) would help the real loop's own -Search() calls find cutoffs
faster. But the recursive call's own iValue writes were always fully
overwritten by this same call's loop immediately after it (same ply,
same move-stack range), so the only way it could possibly help was via
those side effects.
Measured directly: disabling it produced a bit-identical result across
all three test suites (ecm_ringers.ep_, ecm_confident_quick.ep_,
ecm_hard_quick.ep_ at sn=5M) -- no change whatsoever, not even a single
position. It was pure wasted search effort. Removed.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGSMkwjqiCk4XhbfN7ugD2
Diffstat (limited to 'src/book.c')
0 files changed, 0 insertions, 0 deletions
