Skip to content

bpo-40313: speed up bytes.hex() #19594

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

Merged
merged 2 commits into from
Apr 21, 2020
Merged

Conversation

sweeneyde
Copy link
Member

@sweeneyde sweeneyde commented Apr 19, 2020

@gpshead
Copy link
Member

gpshead commented Apr 20, 2020

The code looks great, a natural unrolling to avoid all the conditionals within. Would you please add a NEWS entry about the performance improvement using blurb or blurb-it?

@miss-islington
Copy link
Contributor

@sweeneyde: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 6a9e80a into python:master Apr 21, 2020
@vstinner
Copy link
Member

I hesitated to do something very similar when I wrote my PR #19535 :-) Nice optimization.

@sweeneyde sweeneyde deleted the hexperf branch April 28, 2020 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance or resource usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants