Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Add string.GetHashCode(ROS<char>) and related APIs #20422

Merged

Conversation

GrabYourPitchforks
Copy link
Member

Fixes https://github.com/dotnet/corefx/issues/31302.

Per https://github.com/dotnet/corefx/issues/31302#issuecomment-407542677, the newly added API on CompareInfo is non-virtual. Unit tests will be coming through a different PR in corefx. I'll link to that PR when it's ready.

I'll also rerun some of the perf benchmarks to ensure we haven't regressed culture-aware hash code calculation performance.

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Other than Jan's comments/questions, LGTM. Thanks.

@GrabYourPitchforks
Copy link
Member Author

Thanks @jkotas and @stephentoub! Getting to the feedback took a backseat due to some other higher-priority work, but I plan on getting back to this by end of week.

@GrabYourPitchforks
Copy link
Member Author

OSX failure is due to full disk, unrelated to this PR.

@GrabYourPitchforks
Copy link
Member Author

GrabYourPitchforks commented Nov 8, 2018

@dotnet-bot test OSX10.12 x64 Checked Innerloop Build and Test

Edit: Or not. That's cool, too, bot. :)

@GrabYourPitchforks GrabYourPitchforks merged commit a940030 into dotnet:master Nov 8, 2018
dotnet-maestro-bot pushed a commit to dotnet-maestro-bot/corefx that referenced this pull request Nov 8, 2018
dotnet-maestro-bot pushed a commit to dotnet-maestro-bot/corert that referenced this pull request Nov 8, 2018
stephentoub pushed a commit to dotnet/corefx that referenced this pull request Nov 8, 2018
jkotas pushed a commit to dotnet/corert that referenced this pull request Nov 8, 2018
@cdmihai
Copy link

cdmihai commented Nov 8, 2018

Will this get into full framework as well, or just .net core? Or is it net standard?

@jkotas
Copy link
Member

jkotas commented Nov 8, 2018

Just .net core

Or is it net standard?

It will make its way to net standard, but that net standard won't be supported on full framework: https://blogs.msdn.microsoft.com/dotnet/2018/11/05/announcing-net-standard-2-1/

@GrabYourPitchforks GrabYourPitchforks deleted the span_gethashcode branch November 10, 2018 20:30
A-And pushed a commit to A-And/coreclr that referenced this pull request Nov 20, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants