Description
Today, next() is a giant method which handles both the sorted and unsorted cases. It feels like there should be two separate impls for these cases.
Today, next() is a giant method which handles both the sorted and unsorted cases. It feels like there should be two separate impls for these cases.