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

Speed up type argument checking #16353

Merged
merged 1 commit into from
Oct 29, 2023
Merged

Speed up type argument checking #16353

merged 1 commit into from
Oct 29, 2023

Commits on Oct 28, 2023

  1. Speed type argument checking

    The upper bound is usually `object`, so add a fast path and skip a
    potentially slow subtype check if that's the case. Also make type
    annotations more precise.
    
    This seems to at least speed up type checker tests, by 1-2% or so.
    This also potentially speeds up self-check a bit, though probably by
    less than 1%.
    JukkaL committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    f49d1f6 View commit details
    Browse the repository at this point in the history