Skip to content

UTF8-validation: speed up findInvalidRange #75381

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

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

milseman
Copy link
Member

Changes findInvalidRange from being O(n) to O(1).

rdar://100170673

Changes findInvalidRange from being O(n) to O(1).
@milseman milseman requested a review from a team as a code owner July 20, 2024 01:45
@milseman
Copy link
Member Author

@swift-ci please test

@milseman
Copy link
Member Author

@swift-ci please benchmark

@milseman milseman merged commit a0bf388 into swiftlang:main Jul 20, 2024
6 checks passed
iMostfa pushed a commit to iMostfa/swift that referenced this pull request Jul 20, 2024
Changes findInvalidRange from being O(n) to O(1).
@milseman milseman deleted the utf8_validation branch July 24, 2024 17:12
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