Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Simplify SelectArrayIterator method #85695

Merged
merged 1 commit into from
May 3, 2023

Conversation

stephentoub
Copy link
Member

Happened to look at the current implementation, and the if condition was unnecessarily complex. Plus this change removes a bounds check as a bonus.

@ghost
Copy link

ghost commented May 3, 2023

Tagging subscribers to this area: @dotnet/area-system-linq
See info in area-owners.md if you want to be subscribed.

Issue Details

Happened to look at the current implementation, and the if condition was unnecessarily complex. Plus this change removes a bounds check as a bonus.

Author: stephentoub
Assignees: -
Labels:

area-System.Linq

Milestone: -

@stephentoub stephentoub merged commit caaab8a into dotnet:main May 3, 2023
@stephentoub stephentoub deleted the streamlineselectarray branch May 3, 2023 20:51
@ghost ghost locked as resolved and limited conversation to collaborators Jun 3, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants