by lessbergstein · 2y ago · 0 comments
1B lines is a lot, and Java ain't a slouch.
https://www.perl.com/pub/2003/11/21/slurp.html/#:~:text=Anot....
This is really a small, trivial task for a perl script. Even with a billion lines this is nothing for a modern cpu and perl.
https://www.reddit.com/r/perl/comments/18ygpsi/1_billion_row...