mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Use a std::vector to store searchMoves
A std::set (that is a rb_tree) seems really overkill to store at most a handful of moves and nothing in the common case. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -118,7 +118,7 @@ void benchmark(istringstream& is) {
|
||||
}
|
||||
else
|
||||
{
|
||||
Threads.start_searching(pos, limits);
|
||||
Threads.start_searching(pos, limits, vector<Move>());
|
||||
Threads.wait_for_search_finished();
|
||||
nodes += Search::RootPosition.nodes_searched();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user