Hi! I have 255 process::Command instances I want to run with the output being processed after. I want these done as fast as possibe. Right now I made a thread pool of four threads each doing a task when available until the 255 Commands are run and output processed.
Is this the fastest possible way? Or is the fastest way to implement an async library to spawn 255 tasks? Perhaps just creating 255 OS threads is the fastest?
Any help is appreciated!