-
Notifications
You must be signed in to change notification settings - Fork 13.3k
use CursorRef more #97114
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 CursorRef more #97114
Conversation
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
r? rust-lang/compiler |
Ha, diff became short, actually. Will squash. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I don't see any comment why |
@rustbot ready |
It's quite possible that it's a source of bugs. |
@bors r+ |
📌 Commit 05f459e has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (6913c74): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
// FIXME: Many uses of this can be replaced with by-reference iterator to avoid clones. Should that be removed now? |
Yeah, looks like there no more easy to replace places for |
This allows skipping clone of
TreeAndSpacing
(andTokenTree
).