Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Port optimization in Buffer.Memmove from CoreCLR #3551

Merged
merged 2 commits into from
May 9, 2017

Conversation

sergiy-k
Copy link
Contributor

@sergiy-k sergiy-k commented May 8, 2017

This is just a copy of changes made in dotnet/coreclr#9786.
On my machine I see about 5% improvement in a micro-benchmark.

@@ -2,6 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if AMD64 || (BIT32 && !ARM)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't set BIT32 anywhere. If you think we should set it, you'll need to add it to dir.props at the root and validate it kicks in on the TFS side as well (there's a separate place where we set stuff like BIT64 under ndp\FxCore\dir.settings.targets - it might be redundant or might not, I didn't really look at how those two builds are tangled together).

@sergiy-k sergiy-k merged commit 62c5b20 into dotnet:master May 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants