P is for Practical | |
PerlMonks |
Re: Premature and micro optimization...by lidden (Curate) |
on Jun 11, 2007 at 07:53 UTC ( [id://620433]=note: print w/replies, xml ) | Need Help?? |
Adding the match_and_tr sub missing from your code: I got :
Which is as expected. The sub that don't do any tring is of course faster.
In Section
Seekers of Perl Wisdom
|
|