iota.lib.cpp icon indicating copy to clipboard operation
iota.lib.cpp copied to clipboard

parallel_for thread pool & configuration

Open Cylix opened this issue 7 years ago • 0 comments

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.

Cylix avatar Mar 01 '18 08:03 Cylix