-
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
Refactor TinyList::contains
and len
to iterate instead of recurse
#62744
Conversation
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
Ping from triage, any updates? @eddyb |
☔ The latest upstream changes (presumably #63207) made this pull request unmergeable. Please resolve the merge conflicts. |
6704bab
to
599cf2e
Compare
Rebased. |
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.
r=me with benches fixed
599cf2e
to
8661a9c
Compare
8661a9c
to
45f14a8
Compare
@eddyb r? |
I made the changes to the benchmarks as requested. @eddyb please clarify what is missing. |
📌 Commit 45f14a8 has been approved by |
Refactor `TinyList::contains` and `len` to iterate instead of recurse None
Rollup of 6 pull requests Successful merges: - #62744 (Refactor `TinyList::contains` and `len` to iterate instead of recurse) - #63813 (Do not suggest `.try_into()` on `i32::from(x)`) - #63833 (Suggest calling closure with resolved return type when appropriate) - #63839 (Ensure miri can do bit ops on pointer values) - #63854 (Modifies how Arg, Arm, Field, FieldPattern and Variant are visited) - #63859 (Don't unwrap the result of `span_to_snippet`) Failed merges: r? @ghost
No description provided.