2 ms·
Case in point, with the countdown to Perl 6 now on the cause seems hopeless: Perl 5.20 / 19Mb Apache log file / time: 1 sec perl -wnl -E 'say $1 if /\b(\w{5})
by cutler 12y ago
Case in point, with the countdown to Perl 6 now on the cause seems hopeless:
Perl 5.20 / 19Mb Apache log file / time: 1 sec
perl -wnl -E 'say $1 if /\b(\w{5})\b/' logs.txt
Perl 6 (MoarVM 2015.02) / 19Mb Apache log file / time: 88 secs
perl6 -n -e 'say $0 if m/(<<\w5>>)/' logs.txt
Given that efficient text & regex parsing is Perl's forte I don't see Perl 6 satisfying the basic requirements of Perl 5 hackers.