Comparers icon indicating copy to clipboard operation
Comparers copied to clipboard

NaturalStringComparer

Open StephenCleary opened this issue 4 years ago • 1 comments

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 avatar Jun 20 '20 15:06 StephenCleary

Possibly can make use of MemoryExtensions.CompareTo.

StephenCleary avatar Jul 14 '20 17:07 StephenCleary