iota.lib.cpp
iota.lib.cpp copied to clipboard
parallel_for thread pool & configuration
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.