Skip to content

Conversation

@h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Jul 1, 2024

Description

Replaces Array.GetLength(0) on single-dimensional arrays with the Length property for performance benefit, clarity and general code quality. I didn't replace a few in Color and ColorTransform as that's part of my other PR and I don't want to create conflicts.

Customer Impact

Improved performance.

Regression

No.

Testing

Build, the changes are minimal hence no further testing.

Risk

Low.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz requested review from a team as code owners July 1, 2024 21:35
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Jul 1, 2024
@harshit7962
Copy link
Member

@h3xds1nz Thank you for your contributions.

@h3xds1nz
Copy link
Member Author

@harshit7962 Thanks for including them.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants