http://qs1969.pair.com?node_id=427848


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.


Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.