Is there an efficient and elegant way to keep the top 2 values from an iterator

here some related proposals.