From a6741d9c609cf402e319d67cc902cb574c15afa4 Mon Sep 17 00:00:00 2001 From: Egor Bogatov Date: Fri, 3 Feb 2023 17:02:34 +0100 Subject: [PATCH] Remove AggressiveInlining from XxHash3 and XxHash128 HashLength0To16 (#81565) --- src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs | 1 - src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs b/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs index 103e7ce..a9deb0d 100644 --- a/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs +++ b/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs @@ -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) diff --git a/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs b/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs index 5253462..702409b 100644 --- a/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs +++ b/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs @@ -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) -- 2.7.4