|
|
|
|
|
by scottlamb
1766 days ago
|
|
That way will bite you when the tasks in question are cheaper than fork+exec. There was a thread just the other day in which folks were creating 8 million empty files with a bash loop over touch. But it's 60X faster (really, I measured) to use xargs, which will do batches (and parallelism if you tell it to). https://news.ycombinator.com/item?id=28192946 |
|