I need to improve the search speed for negamax algorithm, and I see that stockfish has used multithreading to do this.
However when I tried spawning a thread for every child of a current node, that slowed down search time because of constant creation and destruction of threads which is slow.
I already have alpha beta pruning, transposition table, move ordering, etc.
How do I further improve negamax performance with threads?
Thanks