in reply to Re: Better mousetrap (getting top N values from list X)
in thread Better mousetrap (getting top N values from list X)
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.
|
---|