|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Re: fast bit twiddlingby emazep (Priest) |
| on May 04, 2004 at 21:13 UTC ( #350569=note: print w/ replies, xml ) | Need Help?? |
|
There's a mistake here, since the eq operator has an higher precedence than the comma. Oddly enough, after the correction above this solution proves to be the fastest (probably because it reaches the first return more frequently.) See here for the updated benchamark results. Cheers, Emanuele.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||