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

Commit 1ce89ad

Browse files
authored
Fix major System.Memory performance regression on .NET Framework x86 (#28179)
* Use Unsafe.AddByteOffset instead of Unsafe.Add where possible * Use pointer for NUint backing field * Delete unnecessary unchecked scopes, fixed comments * Avoid unnecessary overflow checks when converting from IntPtr * Switch SequenceEqual to IntPtr pointer arithmetic This is fixing 10x regression introduced by use of NUint * Delete NUint operators that are no longer necessary * Fix CoreCLR build break
1 parent 7d4b78f commit 1ce89ad

File tree

2 files changed

+182
-271
lines changed

2 files changed

+182
-271
lines changed

0 commit comments

Comments
 (0)