Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize an expression in endgame.cpp
I believe using foward_file_bb() here is fewer instructions. a) Fewer instructions and probably more clear (debatable). b) Possible that a lookup is slower than a few local operations, but the forward_file_bb table is probably used often enough that it is always cached. Passed LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 21004 W: 4263 L: 4141 D: 12600 http://tests.stockfishchess.org/tests/view/5b1cad830ebc5902ab9c6239 Closes #1644 No functional change.
- Loading branch information