]> git.sesse.net Git - stockfish/commit
Make key_after() more consistent with key()
authormstembera <MissingEmail@email>
Sun, 14 Aug 2022 00:01:11 +0000 (17:01 -0700)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 17 Aug 2022 17:56:15 +0000 (19:56 +0200)
commit02ef1f4496965b5ad8c26ac6bc18245eaffae2ea
tree6061cbda743c1fb6e4d8cd426d7eab62ff024820
parent15ac117ac492e3147b391aa0ee3665fe8876be63
Make key_after() more consistent with key()

STC: https://tests.stockfishchess.org/tests/view/62f8547123d42b50a8dac674
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 176640 W: 47699 L: 47189 D: 81752
Ptnml(0-2): 776, 18599, 49129, 18971, 845

A bug fix plus non functional speed optimization. Position::key_after(Move m) is now
consistent with Position::key() thus prefetching correct TT entries which speeds things up.
Related PR #3759

closes https://github.com/official-stockfish/Stockfish/pull/4130

No functional change
src/position.cpp
src/position.h