Open vlomshakov opened 3 years ago
Hi @vlomshakov , I can imagine that for quick testing purposes that might be useful.
I think the minimum working functionality of a dummy pool should be:
All the other stuff will be disabled because they're only useful when actually using workers.
Would that work?
yes, it would be perfect. Thanks!
Alright, perfect. I will try to put some hours in at the end of this year.
Hey! Sometimes I have to debug my code in sequential mode. But duplicating code (parallel and sequential execution) looks ugly. It seems to me that introducing
DummyWorkerPool
is good solution for this purpose, it just call the function sequentially in loop w/o any overhead. What do you think?