]> git.sesse.net Git - stockfish/commit
Re-arrange history update code
authorMarco Costalba <mcostalba@gmail.com>
Sun, 15 Mar 2015 09:05:57 +0000 (10:05 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 16 Mar 2015 14:14:09 +0000 (15:14 +0100)
commita4b2eeea759f10ca1ce864c2a30a990a9a991aa9
tree5e177bdcb2aadbb0559e773bd3c5418f5dc2971a
parent13d4df95cd4c56c0e730328648de54d9ed8bd81e
Re-arrange history update code

Unify the quites moves loop for both cases,
the compiler optimizes away the

 if (is_ok((ss-1)->currentMove))

inside loop, so that the result is same
speed as original.

No functional change.
src/search.cpp