![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Premature and micro optimization...by bart (Canon) |
on Jun 11, 2007 at 12:05 UTC ( #620474=note: print w/replies, xml ) | Need Help?? |
Not only are you micro-optimizing, but you're looking, IMO, at the wrong spot. Inlining the code, thus not calling a sub, might produce a lot more savings in execution time, than skipping tr.
And even then, you should consider the bigger picture: how much of your total execution time is spent in thi sub? Not much, that's my guess.
In Section
Seekers of Perl Wisdom
|
|