]> git.sesse.net Git - stockfish/commit
Use a std::vector to store searchMoves
authorMarco Costalba <mcostalba@gmail.com>
Sun, 1 Apr 2012 11:26:14 +0000 (12:26 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 1 Apr 2012 11:45:43 +0000 (12:45 +0100)
commit7eb6a488ade31254151fd516aa4c94fc56b84a1f
treefe9d6f2633f074c3b4d8f3893560f29017812677
parent72641dcaae2241c830254fc19b742eb477d831a3
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>
src/benchmark.cpp
src/main.cpp
src/thread.cpp
src/thread.h
src/uci.cpp