3 ms·
If the overhead of a fork is too much for you you probably shouldn’t be writing a shell script anyway, so?
by znpy 4y ago
If the overhead of a fork is too much for you you probably shouldn’t be writing a shell script anyway, so?
- chasil 4y agoIf your while loop is going to execute a million times, then removing an expr from it is going to save a million forks. That seems worthwhile to me.