Avoid searching TT twice for the same key/position during probe() and store().
authormstembera <MissingEmail@email>
Sat, 13 Dec 2014 07:16:35 +0000 (07:16 +0000)
committerJoona Kiiski <joona.kiiski@gmail.com>
Sat, 13 Dec 2014 07:22:37 +0000 (07:22 +0000)
commit14cf27e6f65787a1f9c8e4759ae0fcc218f37d2d
treec8bff5ac109c094331f4a5651abe69c64faf9345
parent7b4828b68ced7e92a3399f9e48da8726b6b315f0
Avoid searching TT twice for the same key/position during probe() and store().

Just keep the pointer and remove code from tt.cpp

STC
LLR: 2.96 (-2.94,2.94) [-1.50,4.50]
Total: 13620 W: 2810 L: 2665 D: 8145

LTC
LLR: 2.97 (-2.94,2.94) [0.00,6.00]
Total: 13021 W: 2238 L: 2073 D: 8710STC http://tests.stockfishchess.org/tests/view/548436860ebc59331739b90c

STC 4MB
ELO: 2.41 +-2.2 (95%) LOS: 98.6%
Total: 40000 W: 8175 L: 7897 D: 23928

LTC 16MB
ELO: 1.78 +-2.0 (95%) LOS: 96.1%
Total: 39683 W: 6763 L: 6560 D: 26360

Resolves #151

Bench: 8116521
src/search.cpp
src/tt.cpp
src/tt.h