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

bpo-35585: Speed up enum by-value lookup #11318

Merged
merged 1 commit into from Dec 26, 2018
Merged

Conversation

asvetlov
Copy link
Contributor

@asvetlov asvetlov commented Dec 26, 2018

@ethanfurman ethanfurman changed the title bpo-35585: Speed-up building enums by value, e.g. http.HTTPStatus(200) bpo-35585: Speed-up enum by-value lookup Dec 26, 2018
@ethanfurman ethanfurman changed the title bpo-35585: Speed-up enum by-value lookup bpo-35585: Speed up enum by-value lookup Dec 26, 2018
@ethanfurman ethanfurman merged commit 34ae04f into python:master Dec 26, 2018
@bedevere-bot
Copy link

@ethanfurman: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor

Thanks @asvetlov for the PR, and @ethanfurman for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-11324 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 26, 2018
…-11318)

bpo-35585: Speed up enum by-value lookup
(cherry picked from commit 34ae04f)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
@asvetlov asvetlov deleted the fast-enum branch December 26, 2018 20:45
asvetlov added a commit that referenced this pull request Dec 26, 2018
GH-11324)

bpo-35585: Speed up enum by-value lookup
(cherry picked from commit 34ae04f)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
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.

None yet

6 participants