Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Reuse StopIteration exceptions (loop optimization) #881
Nested loops are expensive in part because of
Results on benchmarking test:
freakboy3742 left a comment
This looks good; however, there's an edge case where the introduction of a singleton will cause equality tests to behave differently.
This needs to be flagged in documentation as a reference that implementors need to be aware of.