Skip to content

Commit

Permalink
Do move legality check before pruning.
Browse files Browse the repository at this point in the history
This alllows to simplify the code because the move counter haven't to be
decremented later if a move isn't legal. As a side effect now illegal
pruned moves doesn't included anymore in move counter. So slightly less
pruning and reductions are done.

STC:
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 111016 W: 21106 L: 21077 D: 68833
Ptnml(0-2): 1830, 13083, 25736, 12946, 1913
https://tests.stockfishchess.org/tests/view/5f28816fa5abc164f05e4c26

LTC:
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 39264 W: 4909 L: 4843 D: 29512
Ptnml(0-2): 263, 3601, 11854, 3635, 279
https://tests.stockfishchess.org/tests/view/5f297902a5abc164f05e4c8e

closes official-stockfish#2906

Bench: 4390086
  • Loading branch information
locutus2 authored and gekkehenker committed Dec 6, 2021
1 parent 01db7f6 commit 8e4774c
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 8e4774c

Please sign in to comment.