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

Micro-optimize get_proper_type(s) #14369

Merged
merged 1 commit into from
Dec 29, 2022
Merged

Micro-optimize get_proper_type(s) #14369

merged 1 commit into from
Dec 29, 2022

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Dec 29, 2022

These are used a lot, so it makes sense to tune them a bit. We now avoid allocations in a common case, when compiled.

(Various small optimizations, including these, together netted a 6% performance improvement in self check.)

These are used a lot, so it makes sense to tune them a bit. We now
avoid allocations in a common case, when compiled.

(Various small optimizations, including these, together netted a 6%
performance improvement in self check.)
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JukkaL JukkaL merged commit 52172a3 into master Dec 29, 2022
@JukkaL JukkaL deleted the faster-proper-types branch December 29, 2022 15:17
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.

2 participants