mcostalba/Stockfish — pull request #166 by Thanar2 (2014-02-06 13:05:52+00:00)
Title: Use FAST_GIVES_CHECK

Test for common case which, when running default stockfish bench, avoids 96% of 19 million calls to pos.gives_check() , which is expensive due to passing of large CheckInfo structure.

Passed fishtest at STC
LLR: 2.97 (-2.94,2.94) [-1.50,4.50]
Total: 12441 W: 2333 L: 2196 D: 7912
http://tests.stockfishchess.org/tests/view/52f02d790ebc5901df50f887

Passed fishtest at LTC
LLR: 2.97 (-2.94,2.94) [0.00,6.00]
Total: 42175 W: 6702 L: 6409 D: 29064
http://tests.stockfishchess.org/tests/view/52f0dbe00ebc5901df50f8a0

No functional change.