Re:Command-line Tools can be 235x Faster than a Hadoop Clust...
by foobarian on Wednesday May 23, 2018 @08:52PM
(#17139964)
And perl -pe or -ne ! :)
[ Parent
| on HN ]
Re:Command-line Tools can be 235x Faster than a Hadoop Clust...
by Groxx on Thursday May 24, 2018 @03:31AM
(#17141833)
^ the moment you do anything even slightly non-trivial with sed, abandon it and use perl instead. for even simple regexes with a couple non-"match this char" segments I regularly see almost 100x speedup, it's rather crazy. it's also a LOT more portable in my experience because the regex engine is so much more capable and consistent, even across fairly major perl versions.