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

Add caches for method and impl metadata #7144

Merged
merged 1 commit into from
Jun 15, 2013
Merged

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Jun 15, 2013

The lookups for these items in external crates currently cause repeated
decoding of the EBML metadata, which is pretty slow. Adding caches to
avoid the repeated decoding reduces the time required for the type
checking of librustc by about 25%.

The lookups for these items in external crates currently cause repeated
decoding of the EBML metadata, which is pretty slow. Adding caches to
avoid the repeated decoding reduces the time required for the type
checking of librustc by about 25%.
bors added a commit that referenced this pull request Jun 15, 2013
The lookups for these items in external crates currently cause repeated
decoding of the EBML metadata, which is pretty slow. Adding caches to
avoid the repeated decoding reduces the time required for the type
checking of librustc by about 25%.
@bors bors closed this Jun 15, 2013
@bors bors merged commit a710e61 into rust-lang:master Jun 15, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 6, 2021
…flip1995

while_immutable_cond: check condition for mutation

This fixes rust-lang#6689 by also checking the bindings mutated in the condition, whereas it was previously only checked in the loop body.

---

changelog: Fix FP in [`while_immutable_cond`] where mutation in the loop variable wasn't picked up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants