9 ms·
Related posts from my past experience from about 10 years ago: * Splitting long lines is slow[1] * Can Parallel::ForkManager speed up a seemingly IO bound tas
by nanis 4y ago
Related posts from my past experience from about 10 years ago:
* Splitting long lines is slow[1]
* Can Parallel::ForkManager speed up a seemingly IO bound task?[2]
In both cases, Perl is the language used (with a little C thrown in for [1]), but they are in a similar vein to the topic of this post. In [1], I show that the slowness in processing large files line by line is not due to I/O, but due to the amount of work done by code. In [2], a seemingly I/O bound task is sped up by throwing more CPU at it.
[1]: https://www.nu42.com/2013/02/splitting-long-lines-is-slow.html https://www.nu42.com/2013/02/splitting-long-lines-is-slow.ht...
[2]: https://www.nu42.com/2012/04/can-parallelforkmanager-speed-up.html https://www.nu42.com/2012/04/can-parallelforkmanager-speed-u...