-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Skip() on IReadOnlyList needlessly enumerates skipped items #72424
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/area-system-linq Issue DetailsThis issue has been moved from a ticket on Developer Community. [severity:It's more difficult to complete my work] Original CommentsTRI-L Data Systems Claudio Friederich on 3/29/2022, 05:35 PM:(private comment, text removed) Feedback Bot on 3/29/2022, 11:11 PM:(private comment, text removed) Fiona Niu[MSFT] on 6/30/2022, 01:37 AM:(private comment, text removed) TRI-L Data Systems Claudio Friederich on 7/11/2022, 02:32 PM:(private comment, text removed) TRI-L Data Systems Claudio Friederich on 7/11/2022, 03:23 PM:(private comment, text removed) Feedback Bot on 7/6/2022, 11:51 PM:(private comment, text removed) Feedback Bot on 7/11/2022, 11:38 PM:(private comment, text removed) Original Solutions(no solutions)
|
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work]
If you call .Skip() on a collection that implements IReadOnlyList but doesn't implement IList, Skip needlessly enumerates all skipped items, whereas on an IList implementation, it makes use of the indexer and does not enumerate the skipped items. This is needlessly inefficient.
Original Comments
TRI-L Data Systems Claudio Friederich on 3/29/2022, 05:35 PM:
(private comment, text removed)
Feedback Bot on 3/29/2022, 11:11 PM:
(private comment, text removed)
Fiona Niu[MSFT] on 6/30/2022, 01:37 AM:
(private comment, text removed)
TRI-L Data Systems Claudio Friederich on 7/11/2022, 02:32 PM:
(private comment, text removed)
TRI-L Data Systems Claudio Friederich on 7/11/2022, 03:23 PM:
(private comment, text removed)
Feedback Bot on 7/6/2022, 11:51 PM:
(private comment, text removed)
Feedback Bot on 7/11/2022, 11:38 PM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: