Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Replace Array.Copy(src, dst, int) calls with Array.Copy(src, 0, dst, 0, int) #21756

Merged
merged 1 commit into from
Jan 2, 2019

Conversation

stephentoub
Copy link
Member

The former calls GetLowerBound(0) on both src and dst, which is unnecessary when the arrays are T[] and thus always have a lower bound of 0.

…0, int)

The former calls GetLowerBound(0) on both src and dst, which is unnecessary when the arrays are T[] and thus always have a lower bound of 0.
@jkotas jkotas merged commit 6911791 into dotnet:master Jan 2, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…0, int) (dotnet/coreclr#21756)

The former calls GetLowerBound(0) on both src and dst, which is unnecessary when the arrays are T[] and thus always have a lower bound of 0.

Commit migrated from dotnet/coreclr@6911791
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.

2 participants