-
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
feat: implement DoubleEndedSearcher
for CharArray[Ref]Searcher
#111922
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @scottmcm (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
I'm going to flip this to libs-api, on the assumption that this implies more stuff from r? rust-lang/libs-api |
This may be made more relevant by #100806 |
@rust-lang/libs-api: This PR makes iterators from fn main() {
let mut iter = "x86_64-unknown-none".split_inclusive(['-', '_']);
let _ = iter.next_back();
} Be aware that the above code already compiles without this PR, but that is a bug. #100806 |
Team member @dtolnay has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
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.
Thanks!
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (f6dcaee): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 674.246s -> 675.186s (0.14%) |
Nominating for backport into 1.75.0 to put this into the same release as #100806. It would be needlessly annoying to break |
[beta] backports - feat: implement `DoubleEndedSearcher` for `CharArray[Ref]Searcher` rust-lang#111922 - Update to LLVM 17.0.5 rust-lang#117907 - clarify `fn discriminant` guarantees: only free lifetimes may get erased rust-lang#118006 r? ghost
This PR implements
DoubleEndedSearcher
for bothCharArraySearcher
andCharArrayRefSearcher
. I'm not sure whether this was just overlooked or if there is a reason for it, but since it behaves exactly likeCharSliceSearcher
, I think the implementations should be appropriate.