News for hackers. Stuff that matters.
Re:The true power of regular expressions (2012) by dfox on Sunday October 14, 2018 @05:53PM (#18215656)
Perl5 is not too meaningful for such performance comparisons, because on one hand it's regex implementation is very optimized while on other hand performance of Perl5 on "normal" procedural code is horrible (eg. Perl5 is about an order of magnitude slower on Gabriel's Takeuchi function benchmark than CPython).
Re:The true power of regular expressions (2012) by nicoburns on Sunday October 14, 2018 @07:49PM (#18216331)
This result generalises to most interpreted languages though. PHP, python, javascript, etc all have highly optimised regex engines, and regexs can consequently be a good optimisation technique when using those languages.