Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: Rakudo Perl 6 and MoarVM Performance Advances

by gunzip (Pilgrim)
on Sep 05, 2014 at 07:36 UTC ( [id://1099638] : note . print w/replies, xml ) Need Help??


in reply to Re^3: Rakudo Perl 6 and MoarVM Performance Advances
in thread Rakudo Perl 6 and MoarVM Performance Advances

It could be argued you're then comparing different things. The original is strictly a comparison of the equivlaent Perl one-liners.

Replies are listed 'Best First'.
Re^5: Rakudo Perl 6 and MoarVM Performance Advances
by moritz (Cardinal) on Sep 05, 2014 at 09:40 UTC

    They are not quite equivalent. say $0 actually dumps the whole match tree of that capture (something that doesn't even exist in Perl 5), it just happens to be a single string in this case. Still the code that is behind it is must consider the general case.

    It shouldn't make such a big difference, though.