-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Use FxIndexSet
to avoid sorting fake borrows
#96888
Conversation
This fixes rust-lang#96449, but I haven't yet been able to make the reproducer work using `#[cfg]` attributes, so we can't use the 'revision' infra to write a test The previous implementation relied on sorting by `PlaceRef`. This requires sorting by a `DefId`, which uses untracked state (see rust-lang#93315)
(rust-highfive has picked a reviewer for you, use r? to override) |
See #90317 |
@bors r+ |
📌 Commit aa0cc9c has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (b862b43): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
This fixes #96449, but I haven't yet been able to
make the reproducer work using
#[cfg]
attributes,so we can't use the 'revision' infra to write a test
The previous implementation relied on sorting by
PlaceRef
.This requires sorting by a
DefId
, which uses untracked state(see #93315)