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

[mypyc] Use primitives for calls via type aliases #14784

Merged
merged 1 commit into from
Mar 2, 2023

Commits on Feb 26, 2023

  1. [mypyc] Use primitives for calls via type aliases

    Previously type aliases were looked up from the globals dictionary,
    even if the target was a primitive type such as list. Now type aliases
    are treated the same as direct references to types in calls, since
    type aliases are assumed to be immutable.
    
    This speeds up the deltablue benchmark by about 4%.
    JukkaL committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    2b586e9 View commit details
    Browse the repository at this point in the history