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

Optimization: Enable always defined attributes in Type subclasses #14356

Merged
merged 1 commit into from
Dec 28, 2022

Commits on Dec 28, 2022

  1. Optimization: Enable always defined attributes in Type subclasses

    Use lazy initialization to avoid method calls in `__init__`. This allows mypyc to infer more always defined attributes.
    
    (Various small optimizations, including this, together netted a 6% performance improvement in self check.)
    JukkaL committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    777baea View commit details
    Browse the repository at this point in the history