Remove AggressiveInlining from XxHash3 and XxHash128 HashLength0To16 (#81565)
authorEgor Bogatov <egorbo@gmail.com>
Fri, 3 Feb 2023 16:02:34 +0000 (17:02 +0100)
committerGitHub <noreply@github.com>
Fri, 3 Feb 2023 16:02:34 +0000 (17:02 +0100)
src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs
src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs

index 103e7ce..a9deb0d 100644 (file)
@@ -223,7 +223,6 @@ namespace System.IO.Hashing
             Unsafe.WriteUnaligned(ref Unsafe.AddByteOffset(ref dest0, new IntPtr(sizeof(ulong))), low);
         }
 
-        [MethodImpl(MethodImplOptions.AggressiveInlining)]
         private static Hash128 HashLength0To16(byte* source, uint length, ulong seed)
         {
             if (length > 8)
index 5253462..702409b 100644 (file)
@@ -196,7 +196,6 @@ namespace System.IO.Hashing
             return current;
         }
 
-        [MethodImpl(MethodImplOptions.AggressiveInlining)]
         private static ulong HashLength0To16(byte* source, uint length, ulong seed)
         {
             if (length > 8)