Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use Enumerator#count for lazy enums.
This causes methods such as Enumerable#enumerator_size to go into a (near) infinite loop depending on the size of the lazy enumerator.
- Loading branch information