Speed up Array.Reverse by using ref reassignment (#17891)
authorLevi Broderick <GrabYourPitchforks@users.noreply.github.com>
Tue, 8 May 2018 03:50:33 +0000 (20:50 -0700)
committerJan Kotas <jkotas@microsoft.com>
Tue, 8 May 2018 03:50:33 +0000 (20:50 -0700)
commitba4225e5d918f2657fbbebf18be4c7323583a8cf
tree946cedd9d4d8f8ca7dbdc652cf26448b97410229
parentd7e91fc59bbc8f0ffa4aee0ac8f517abc607ca4c
Speed up Array.Reverse by using ref reassignment (#17891)

* Speed up Array.Reverse by using ref reassignment

* Optimize MemoryExtensions.Reverse
src/mscorlib/shared/System/MemoryExtensions.cs
src/mscorlib/src/System/Array.cs