Closed raimannma closed 4 years ago
I noticed that "parallel" working with promises ist much faster than threads.js even for huge populations.
So I replaced threads.js with promises and Promise.all() at the end of the fitness function.
Maybe try it again with web workers, but I think for now promises are the faster option.
I noticed that "parallel" working with promises ist much faster than threads.js even for huge populations.
So I replaced threads.js with promises and Promise.all() at the end of the fitness function.
Maybe try it again with web workers, but I think for now promises are the faster option.