diff options
| author | Scott Gasch <[email protected]> | 2026-08-28 22:03:53 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2026-08-28 22:03:53 -0700 |
| commit | d11e973c80682037d6628f6e3acf4e4c2ab46756 (patch) | |
| tree | e4ab78ada2b7361dfb98504aeee7efc01255ce80 | |
| parent | bc8a3fddb01a3708be54e1b5453cbd13c7afaaeb (diff) | |
Fix stale comment in split.c referencing removed SEARCH_SORT_LIMIT.
Comment-only; split.c never called the macro itself (it always fully
sorts its remaining moves regardless, unaffected by the rename), just
referenced the name in a doc comment explaining why it opts out of the
leftover-selection budget entirely.
| -rwxr-xr-x | src/split.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/split.c b/src/split.c index 8558e3c..17b77f6 100755 --- a/src/split.c +++ b/src/split.c @@ -628,9 +628,9 @@ Return value: // work for naught. We also want to know as soon as // possible so that we can vacate this split point, // free up a worker thread and get back to the main - // search. So forget about the SEARCH_SORT_LIMIT - // stuff here and sort the whole list of moves from - // best..worst. + // search. So forget about the leftover-selection + // budget (NumLeftoverMovesToSelect in search.c) here + // and sort the whole list of moves from best..worst. // SelectBestWithHistory(ctx, v); ctx->sMoveStack.mvf[v].mv.bvFlags |= |
