Skip to content

Conversation

@robert-phe
Copy link

Resolves Issue 83

@rspeer
Copy link
Owner

rspeer commented Sep 6, 2022

Just getting around to reviewing this -- how about we skip rebuilding the map in the case that already worked, where the index being popped is -1 or len(oset)-1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OrderedSet.pop() with a non-default index breaks the contract

2 participants