Skip to content
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

Remove boxing from idle loop #5545

Merged
merged 1 commit into from Aug 26, 2021
Merged

Remove boxing from idle loop #5545

merged 1 commit into from Aug 26, 2021

Conversation

JeremyKuhne
Copy link
Member

@JeremyKuhne JeremyKuhne commented Aug 26, 2021

Casting to IEnumerator is creating an unnecessary box of the enumerator. Just call foreach to avoid this and the unnecessary extra lines of code.

Microsoft Reviewers: Open in CodeFlow

Casting to IEnumerator is creating an unnecessary box of the enumerator. Just call foreach to avoid this and the unnecessary extra lines of code.
@JeremyKuhne JeremyKuhne requested a review from a team as a code owner August 26, 2021 04:19
@ghost ghost assigned JeremyKuhne Aug 26, 2021
@JeremyKuhne JeremyKuhne merged commit b54f76a into dotnet:main Aug 26, 2021
@JeremyKuhne JeremyKuhne deleted the idleloop branch August 26, 2021 04:59
@ghost ghost added this to the 7.0 alpha1 milestone Aug 26, 2021
@dotnet dotnet locked as resolved and limited conversation to collaborators Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants