From fe661ba353f187674339a31db695e8599feaa810 Mon Sep 17 00:00:00 2001 From: cj5716 <125858804+cj5716@users.noreply.github.com> Date: Sun, 12 Jul 2026 15:25:13 +0800 Subject: [PATCH] Bench 2338009 --- src/movepick.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/movepick.rs b/src/movepick.rs index c4061479d..623f7e129 100644 --- a/src/movepick.rs +++ b/src/movepick.rs @@ -61,8 +61,10 @@ impl MovePicker { if self.stage == Stage::GoodNoisy { while !self.list.is_empty() { let entry = self.get_best_entry(); - let threshold = self.threshold.unwrap_or_else(|| -entry.score / 47 + 116); - if (self.tt_move.is_quiet() && self.noisy_count > 2) || !td.board.see(entry.mv, threshold) { + let threshold = self.threshold.unwrap_or_else(|| { + if self.tt_move.is_quiet() && self.noisy_count > 2 { 1 } else { -entry.score / 47 + 116 } + }); + if !td.board.see(entry.mv, threshold) { self.bad_noisy.push(entry.mv); continue; }