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

parsedate without sscanf #10547

wants to merge 4 commits into from

parsedate without sscanf #10547

wants to merge 4 commits into from


Copy link

@bagder bagder commented Feb 17, 2023

sscanf() is complex and slow, and we can avoid doing copies

- sscanf is slow and complex, avoid it
- give up already if the string is 12 bytes or longer as no valid string
  can be that long
- this can now be done without copy
Copy link
Member Author

bagder commented Feb 17, 2023

I'm holding this until after 7.88.1

@bagder bagder closed this in ba9a4e9 Feb 20, 2023
bagder added a commit that referenced this pull request Feb 20, 2023
@bagder bagder deleted the bagder/parsedate-wo-sscanf branch February 20, 2023 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant