mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Use Movepick SEE value in search
This halves the calls to the costly pos.see_sign(), speed up is about 1-1.3% Non functional change.
This commit is contained in:
@@ -958,7 +958,8 @@ moves_loop: // When in check search starts from here
|
||||
}
|
||||
}
|
||||
else if ( depth < 3 * ONE_PLY
|
||||
&& pos.see_sign(move) < VALUE_ZERO)
|
||||
&& ( mp.see_sign() < 0
|
||||
|| (!mp.see_sign() && pos.see_sign(move) < VALUE_ZERO)))
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user