![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Better mousetrap (getting top N values from list X)by BrowserUk (Patriarch) |
on Feb 03, 2005 at 22:37 UTC ( #427848=note: print w/replies, xml ) | Need Help?? |
How would lazy lists allow that? You would still have to sort the whole array before you can perform the slice, because the last value in the array could be the highest. Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.
In Section
Seekers of Perl Wisdom
|
|