News for hackers. Stuff that matters.
Re:Sed – An Introduction and Tutorial by ronjouch on Wednesday January 07, 2015 @09:19PM (#8854689)
Rafe Colburn from Etsy wrote about this performance oddity: http://rc3.org/2014/08/28/surprisingly-perl-outperforms-sed-...

EDIT to manage expectations: the article doesn't explain why, it just provides benchmarks and one commenter made a suggestion about character handling. More insight still welcome :)

Re:Sed – An Introduction and Tutorial by sbi on Thursday January 08, 2015 @12:20AM (#8855116)
There are many different versions of awk: gawk, (BSD) nawk, mawk, etc. I think OS X uses nawk, but mawk is reputedly faster. Gawk is definitely slower than both mawk. I'm not surprised that Perl is faster though.
Re:Sed – An Introduction and Tutorial by Tobu on Thursday January 08, 2015 @11:56AM (#8857263)
> I used the default OS X versions of these tools. The versions were Perl 5.16.2, Awk 20070501, and some version of BSD sed from 2005