From: Marco Costalba Date: Sun, 11 Jul 2010 08:42:04 +0000 (+0100) Subject: There is no need to clear TT at allocation time X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ee8cdb172173a5af199299320d8f385f63efd1f2;p=stockfish There is no need to clear TT at allocation time Operator new() already returns a zeroed memory. No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/tt.cpp b/src/tt.cpp index 57dd0079..00ecfb63 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -72,7 +72,6 @@ void TranspositionTable::set_size(size_t mbSize) { << " MB for transposition table." << std::endl; Application::exit_with_failure(); } - clear(); } }