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

Do ordinal string comparisons #144

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Conversation

dawedawe
Copy link
Contributor

@dawedawe dawedawe commented Nov 1, 2023

Using Ordinal is both faster and more correct as our intent is to do symbolic compares.
See https://learn.microsoft.com/en-us/dotnet/standard/base-types/best-practices-strings for the full story.

faster and more correct as our intent is to do symbolic compares
@SchlenkR SchlenkR merged commit 7bf8a5c into SchlenkR:master Nov 1, 2023
1 check passed
@SchlenkR
Copy link
Owner

SchlenkR commented Nov 1, 2023

Thanks Dawe :) your work is highly appreciated as usual.

@dawedawe dawedawe deleted the stringapiusage branch November 1, 2023 21:44
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

Successfully merging this pull request may close these issues.

2 participants