From: Marco Costalba Date: Sat, 1 May 2010 05:12:04 +0000 (+0100) Subject: Do not refresh TT in qsearch X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=80f5ca88f6eaead0c5460c4bc13c1c7d9477c2be;hp=8425b2b4997c90aaad35ced6ab190df098f24212 Do not refresh TT in qsearch Almost no change and simplifies a bit the code. After 961 games at 1+0 Mod vs Orig +156 =650 -146 +4 ELO Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 1f980fbb..ec884b3c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1627,9 +1627,6 @@ namespace { { assert(tte->type() != VALUE_TYPE_EVAL); - // Refresh tte entry to avoid aging - TT.store(pos.get_key(), tte->value(), tte->type(), tte->depth(), ttMove); - ss[ply].currentMove = ttMove; // Can be MOVE_NONE return value_from_tt(tte->value(), ply); }