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

Optimize fold_ty #107627

Merged
merged 5 commits into from
Feb 6, 2023
Merged

Optimize fold_ty #107627

merged 5 commits into from
Feb 6, 2023

Commits on Feb 5, 2023

  1. Put a ShallowResolver within OpportunisticVarResolver.

    So one doesn't have to be constructed every time.
    nnethercote committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    bac7628 View commit details
    Browse the repository at this point in the history
  2. Improve early bailout test in resolve_vars_if_possible.

    `!t.has_non_region_infer()` is the test used in
    `OpportunisticVarResolver`, and catches a few cases that
    `!t.needs_infer()` misses.
    nnethercote committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    f08a337 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2cf3f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb8e681 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4aec134 View commit details
    Browse the repository at this point in the history