XP is just a number | |
PerlMonks |
Re: Efficient bit-twiddling in Perl.by salva (Canon) |
on Feb 28, 2013 at 15:17 UTC ( [id://1021066]=note: print w/replies, xml ) | Need Help?? |
Not a big improvement, but you can eliminate the AND operation when calculating $top14.
If you have to do that millions of times, you can try building a table for the combined three 6bit quantities:
In Section
Seekers of Perl Wisdom
|
|