Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-94673: Recover Weaklist Lookup Performance #95544

Merged

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Aug 1, 2022

gh-95302 seems to have introduced a small performance regression. Here we make some minor changes to recover that lost performance.

@ericsnowcurrently
Copy link
Member Author

Pyperformance indicates this is less than 1% slower.

@ericsnowcurrently ericsnowcurrently force-pushed the fix-weaklist-performance branch from 0b6d791 to 23defa4 Compare August 2, 2022 22:54
Copy link
Member

@markshannon markshannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One take-it-or-leave-it comment about a name.
LGTM, otherwise.

@ericsnowcurrently ericsnowcurrently merged commit bdbadb9 into python:main Aug 4, 2022
@ericsnowcurrently ericsnowcurrently deleted the fix-weaklist-performance branch August 4, 2022 17:28
iritkatriel pushed a commit to iritkatriel/cpython that referenced this pull request Aug 11, 2022
pythongh-95302 seems to have introduced a small performance regression. Here we make some minor changes to recover that lost performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants