mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Speed up picking of killers
Changing the order of the conditions gives about 1% speed up! No functional change.
This commit is contained in:
parent
3705559fdb
commit
7ddbcf7e87
1 changed files with 1 additions and 1 deletions
|
@ -328,8 +328,8 @@ Move MovePicker::next_move<false>() {
|
|||
case KILLERS_S1:
|
||||
move = (cur++)->move;
|
||||
if ( move != MOVE_NONE
|
||||
&& pos.pseudo_legal(move)
|
||||
&& move != ttMove
|
||||
&& pos.pseudo_legal(move)
|
||||
&& !pos.capture(move))
|
||||
return move;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue