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

Optimize some character checks and ValueStringBuilder #1986

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Oct 24, 2024

No description provided.

@lahma lahma merged commit 7381086 into sebastienros:main Oct 24, 2024
3 checks passed
@lahma lahma deleted the improve-valuestringbuilder branch October 24, 2024 17:20
@sebastienros
Copy link
Owner

I would have assumed SearchValues to be quicker in any cases. It can vectorize and will find the best comparison logic based on inputs.

@lahma
Copy link
Collaborator Author

lahma commented Oct 25, 2024

You probably are correct, I can see a slight regression, I'll maybe do another round... The SearchValues is polyfilled for < NET 8 so it won't as fast on "old targets".

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