From ee8cdb172173a5af199299320d8f385f63efd1f2 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 11 Jul 2010 09:42:04 +0100 Subject: [PATCH] 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 --- src/tt.cpp | 1 - 1 file changed, 1 deletion(-) 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(); } } -- 2.39.2