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 shallow_resolve_changed #67079

Merged
merged 2 commits into from
Dec 12, 2019

Commits on Dec 10, 2019

  1. Optimize shallow_resolve_changed.

    It can be made even more specialized.
    nnethercote committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    f5e68cc View commit details
    Browse the repository at this point in the history
  2. Change PendingPredicateObligation::stalled_on's type.

    From a `Vec<Ty>` to a `Vec<InferTy>`, because that's a more restrictive
    type. This is a perf win because the ultra-hot function
    `shallow_resolve_changed` has less pattern-matching to do.
    nnethercote committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    21f35bc View commit details
    Browse the repository at this point in the history