There's more than one way to do things | |
PerlMonks |
Re: (All roads lead to Rome) Re: Re: C vs perlby belg4mit (Prior) |
on Apr 28, 2002 at 20:18 UTC ( [id://162709]=note: print w/replies, xml ) | Need Help?? |
UPDATED
Granted this still has the same problem as the initial code, but it's twice as fast and saves memory over your speedier (20xOriginal) solution. It also has the side-effect of effectively uniq-ing @betas. If you don't like that replace the outter grep with map.
--
In Section
Seekers of Perl Wisdom
|
|