Skip to content

Commit

Permalink
[ARM64/Windows] optimal value of CopyThreshold for Windows after perf…
Browse files Browse the repository at this point in the history
…ormance analysis (dotnet/coreclr#14674)

Commit migrated from dotnet/coreclr@33a5f24
  • Loading branch information
Pankaj Gode authored and jkotas committed Oct 25, 2017
1 parent e0977a7 commit 1458638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/src/mscorlib/src/System/Buffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ internal unsafe static void Memmove(byte* dest, byte* src, nuint len)
const nuint CopyThreshold = 2048;
#elif ARM64
#if PLATFORM_WINDOWS
// TODO-ARM64-WINDOWS-OPT determine optimal value for Windows
// Determined optimal value for Windows.
// https://github.com/dotnet/coreclr/issues/13843
const nuint CopyThreshold = 2048;
const nuint CopyThreshold = UInt64.MaxValue;
#else // PLATFORM_WINDOWS
// Managed code is currently faster than glibc unoptimized memmove
// TODO-ARM64-UNIX-OPT revisit when glibc optimized memmove is in Linux distros
Expand Down

0 comments on commit 1458638

Please sign in to comment.