-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Remove last vestiges of skippng ident span hashing #96016
Conversation
This removes a comment that no longer applies, and properly hashes the full ident for path segments.
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 002a4e1 with merge a6007f8e3f60d01d5451819b7c082c9b80b8a12a... |
@@ -107,11 +107,11 @@ impl PartialEq<Symbol> for Path { | |||
} | |||
} | |||
|
|||
impl<CTX> HashStable<CTX> for Path { | |||
impl<CTX: rustc_span::HashStableContext> HashStable<CTX> for Path { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this impl used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed to be able to call ident.hash_stable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean the impl for Path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used by AttrItem
and other AST structs
☀️ Try build successful - checks-actions |
Queued a6007f8e3f60d01d5451819b7c082c9b80b8a12a with parent ab33f71, future comparison URL. |
r? @cjgillot |
Finished benchmarking commit (a6007f8e3f60d01d5451819b7c082c9b80b8a12a): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Footnotes |
📌 Commit 002a4e1 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (af68f71): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Footnotes |
Visiting for weekly performance triage.
However, the graph of syn-1.0.89 tells us a slightly different story: I'm willing to chalk this up to measurement noise. @rustbot label: +perf-regression-triaged |
This removes a comment that no longer applies, and properly hashes
the full ident for path segments.