Think if it could be worth it to have a thread pool for a parallel for?
Besides that, it could be interesting to make the maximum number of threads configurable.
Right now it is fixed to the number of cores, but depending on the tasks, more can be useful (I/O bound).
We can look a bit at the Java implementation of their Parallel.For.
Think if it could be worth it to have a thread pool for a parallel for?
Besides that, it could be interesting to make the maximum number of threads configurable.
Right now it is fixed to the number of cores, but depending on the tasks, more can be useful (I/O bound).
We can look a bit at the Java implementation of their
Parallel.For.