Skip to content

Optimize strcspn #12594

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 2 commits into from
Nov 4, 2023
Merged

Optimize strcspn #12594

merged 2 commits into from
Nov 4, 2023

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Nov 2, 2023

Also fixes #12592
Marking as a draft because:

  • Waiting for feedback on the issue to know if we can fix the bug or not.
  • I need to check if deferring to a common method has any performance influence.

@nielsdos nielsdos marked this pull request as ready for review November 2, 2023 19:45
@nielsdos nielsdos requested a review from bukka as a code owner November 2, 2023 19:45
@nielsdos nielsdos requested a review from Girgias November 2, 2023 19:45
@Girgias Girgias merged commit 9a973a3 into php:master Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

strcspn() odd behaviour with NUL bytes and empty mask
2 participants