Currently GenLegalMoveList(list) does computation for the state of next position(check, checkmate, stalemate) which is not required. This change speeds up the function call by 10 times.
Let me know if I should make changes in the combined files like thc-regen.cpp.
Currently
GenLegalMoveList(list)
does computation for the state of next position(check, checkmate, stalemate) which is not required. This change speeds up the function call by 10 times.Let me know if I should make changes in the combined files like
thc-regen.cpp
.