mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
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 <mcostalba@gmail.com>
This commit is contained in:
@@ -72,7 +72,6 @@ void TranspositionTable::set_size(size_t mbSize) {
|
|||||||
<< " MB for transposition table." << std::endl;
|
<< " MB for transposition table." << std::endl;
|
||||||
Application::exit_with_failure();
|
Application::exit_with_failure();
|
||||||
}
|
}
|
||||||
clear();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user