|
|
|
|
|
by gerikson
898 days ago
|
|
Using cat to redirect the file to /dev/null takes 18s on my machine (a low-end NUC). Just running a noop on the file in Perl (ie. feeding it into a `while (<>)` loop but not acting on the contents) takes ~2 minutes. 1B lines is a lot, and Java ain't a slouch. |
|
https://www.perl.com/pub/2003/11/21/slurp.html/#:~:text=Anot....