Micro-optimization: Avoid temporary set creation in is_proper_subtype by JukkaL · Pull Request #19463 · python/mypy
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 3.2k
Conversation
Copy link Copy Markdown
Collaborator
This was suggested by @sterliakov in #19384 (comment)
This is a part of a set of micro-optimizations that improve self check performance by ~5.5%.
This is a part of a set of micro-optimizations that improve self check performance by ~5.5%.
JukkaL
requested review from
ilevkivskyi and
sterliakov
JukkaL
changed the title
Micro-optimization: Avoid temporary set creation is_proper_subtype
Micro-optimization: Avoid temporary set creation in is_proper_subtype
Copy link Copy Markdown
Contributor
github-actions
bot
commented
Jul 16, 2025
github-actions bot commented
Jul 16, 2025According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
sterliakov approved these changes Jul 16, 2025
JukkaL
deleted the
opt-5
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment