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

Refactor quick ascii character #704

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

milseman
Copy link
Member

Adds the isScalarSemantics check, but doesn't seem to improve performance. We probably want to add the withContiguousStorageIfAvailable on UTF8View fast path, though that will complicate testing without more refactoring.

Uses quickASCIICharacter to speed up ASCII character class matching.

2x speedup for EmailLookahead_All and many, many others. 10% regression in AnchoredNotFound_First and related.
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.

1 participant