search: ids: Change idsMove to move[0] (Disabled)

This commit is contained in:
Calcitem 2021-04-23 00:16:01 +08:00
parent 5072c4c819
commit 77fc784de2
1 changed files with 2 additions and 2 deletions

View File

@ -379,9 +379,9 @@ Value search(Position *pos, Sanmill::Stack<Position> &ss, Depth depth, Depth ori
return -VALUE_INFINITE;
}
#if 1
#if 0
// TODO: No speed up
if (idsMove != MOVE_NONE) {
if (depth == originDepth && idsMove != MOVE_NONE) {
for (int i = 1; i < moveCount; i++) {
if (mp.moves[i].move == idsMove) { // TODO: need to write value?
std::swap(mp.moves[0], mp.moves[i]);