From 55297064268e47103f95a1eb8fd8fe80b6aa2887 Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Tue, 30 Nov 2010 14:46:41 +0200 Subject: [PATCH] Prune all negative see moves at low depths After 2036 games Mod- Orig: 381 - 278 - 1377 ELO +17 (+- 6.2) LOS 99% One of the biggest increases ever ! Signed-off-by: Marco Costalba --- src/search.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/search.cpp b/src/search.cpp index f5e1a000..f7718ce4 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1287,6 +1287,17 @@ split_point_start: // At split points actual search starts from here continue; } + + // Prune neg. see moves at low depths + if ( predictedDepth < 2 * ONE_PLY + && bestValue > value_mated_in(PLY_MAX) + && pos.see_sign(move) < 0) + { + if (SpNode) + lock_grab(&(sp->lock)); + + continue; + } } // Step 13. Make the move -- 2.39.2