Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaturalStringComparer #31

Open
StephenCleary opened this issue Jun 20, 2020 · 1 comment
Open

NaturalStringComparer #31

StephenCleary opened this issue Jun 20, 2020 · 1 comment
Assignees

Comments

@StephenCleary
Copy link
Owner

StephenCleary commented Jun 20, 2020

Split from #23

Light-up usage of CompareTo and Equals for spans of chars to make natural string comparisons allocation-free on .NET Core 2.1+.

Light-up GetHashCode for spans of chars to make it allocation-free on .NET Core 3.0+.

@StephenCleary StephenCleary self-assigned this Jun 20, 2020
@StephenCleary
Copy link
Owner Author

Possibly can make use of MemoryExtensions.CompareTo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant