-
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
Override <RangeInclusive as Iterator>::try_(r)fold #56563
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
fc9de85
to
779066e
Compare
779066e
to
46f6915
Compare
@scottmcm No idea 😐 |
✌️ @scottmcm can now approve this pull request |
Cross-reference: #57378 |
r? @rkruppe Can you take this one too, please, since you have the other RangeInclusive perf one? I think it's better that someone actually on libs handles this, and I'm biased here. |
Sorry, it doesn't seem like I'll be able to give this PR proper attention in the near future. Please assign someone else. PS: not sure if that's what you are saying, but I'm not on T-libs or even "affiliated". |
Ok... musical chairs... The luck has come to r? @Kimundi |
cc #45222
fold
ing inclusive ranges.try_rfold
forRange
is left unoverrided since I didn't see performance gain for it.Benchmarks: