![]() |
|
"be consistent" | |
PerlMonks |
Re: Pair of itemsby tadman (Prior) |
on Jul 29, 2003 at 20:21 UTC ( #278969=note: print w/replies, xml ) | Need Help?? |
If you're only using three at a time, you could always do this:
Very rudimentary, but at the same time, this "unrolled" version is way faster than any list or hash based operation. Using a quick Benchmark test, it was 80% faster than other bits posted here.
In Section
Seekers of Perl Wisdom
|
|