Remove unnecessary generation check in TT save
authormstembera <MissingEmail@email>
Fri, 18 Sep 2015 00:13:45 +0000 (17:13 -0700)
committerJoona Kiiski <joona@zoox.com>
Fri, 18 Sep 2015 00:13:45 +0000 (17:13 -0700)
commit01fab4d432b50f95f9def1b757d854fd0c385224
tree4d8e40f6aca9f950462fcfa02a6bb20444e93478
parent660c38f781060f1382b4b0b6e9a8b25658559820
Remove unnecessary generation check in TT save

Checking for generation is unnecessary because if the key matches then the entry was probed and refreshed earlier.

STC 2MB
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 57391 W: 10671 L: 10613 D: 36107
http://tests.stockfishchess.org/tests/view/55ef59fa0ebc5976a2d6da5d

LTC 8MB
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 60732 W: 9260 L: 9199 D: 42273
http://tests.stockfishchess.org/tests/view/55ef8fe60ebc5976a2d6da6b

STC 16MB
LLR: 2.95 (-2.94,2.94) [-4.00,0.00]
Total: 23443 W: 4369 L: 4293 D: 14781
http://tests.stockfishchess.org/tests/view/55ef8fe60ebc5976a2d6da6b

No functional change

Resolves #427
src/tt.h