diff --git a/src/libraries/System.Private.CoreLib/src/System/Text/Ascii.Equality.cs b/src/libraries/System.Private.CoreLib/src/System/Text/Ascii.Equality.cs index 93f8b4d190fa6..036dae8c89b7e 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Text/Ascii.Equality.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Text/Ascii.Equality.cs @@ -536,17 +536,6 @@ public static Vector256 Load256(ref byte ptr) [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector512 Load512(ref byte ptr) { - // This is done here for performance gain. - // A similar implementation would be as below: - // - // (Vector256 lower, Vector256 upper) = Vector256.Widen(Vector256.LoadUnsafe(ref ptr)); - // return Vector512.Create(lower, upper); - // - // This is similar to what is done for Load256 here. But - // for Vector512, this implementation is low performance - // since a load and widen on Vector256 followed by a - // create on Vector512 is leading to a performance lower - // than that of similar implementationfor Vector256. (Vector512 lower, Vector512 _) = Vector512.Widen(Vector256.LoadUnsafe(ref ptr).ToVector512()); return lower; }