You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TakeRangeFromEndIterator uses a regular Queue <T>when IsStartIndexFromEnd, but this process can be done without intervening yields, allowing optimization using ArrayPool and Span.
Thanks for the suggestion, @akeit0. If you can verify the gains using existing or new benchmarks in dotnet/performance, we'd consider accepting a pull request for this.
Activity
dotnet-policy-service commentedon Aug 3, 2025
Tagging subscribers to this area: @dotnet/area-system-linq
See info in area-owners.md if you want to be subscribed.
jeffhandley commentedon Aug 4, 2025
Thanks for the suggestion, @akeit0. If you can verify the gains using existing or new benchmarks in dotnet/performance, we'd consider accepting a pull request for this.
Ashutosh1028 commentedon Dec 2, 2025
I’d like to work on this. Any additional guidance or constraints before I start?
P4suta commentedon Nov 8, 2026
Working on the
TakeLast(1)case for sources whose count is unknown.AI generated this contribution.
P4suta commentedon Nov 8, 2026
Implemented in #137157.
AI generated this contribution.