From c56a7ee803bcb3c2c6072ee4ea196eb4eb9bdf00 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 19 Nov 2011 11:19:12 +0100 Subject: [PATCH] Early stop: retire redundant Rml.size() == 1 case In case there is only 1 legal move we will stop the search at depth 10 anyway because the exclusion search probe will fail low. No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 4304298c..702adc53 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -651,11 +651,6 @@ namespace { // Check for some early stop condition if (!StopRequest && Limits.useTimeManagement()) { - // Stop search early if there is only a single legal move. Search to - // some depth anyway to get a proper score. - if (Rml.size() == 1 && depth >= 7) - StopRequest = true; - // Take in account some extra time if the best move has changed if (depth > 4 && depth < 50) TimeMgr.pv_instability(bestMoveChanges[depth], bestMoveChanges[depth - 1]); -- 2.39.2