From d11e973c80682037d6628f6e3acf4e4c2ab46756 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Fri, 28 Aug 2026 22:03:53 -0700 Subject: 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. --- src/split.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 |= -- cgit v1.3