3 ms·
Instead of killing and starting a new process for every input, it will keep re-using the same coproc'ed process. I guess it's almost like daemonizing the proces
by daemonk 3y ago
Instead of killing and starting a new process for every input, it will keep re-using the same coproc'ed process. I guess it's almost like daemonizing the process into several daemons and then feeding inputs through the daemons as one becomes available.
I can see this being useful for extremely short-lived high paralleled jobs where the overhead of the killing/starting a new process is significant relative to the job itself.