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

lazy fail on parse errors #139

Merged
merged 1 commit into from
Sep 30, 2023
Merged

lazy fail on parse errors #139

merged 1 commit into from
Sep 30, 2023

Conversation

digama0
Copy link
Member

@digama0 digama0 commented Sep 30, 2023

This makes the errors occur at the first point where the string fails to parse, even if there are missing tokens toward the end. Also it avoids some allocations for the string in the middle.

@tirix tirix merged commit 6589b4c into main Sep 30, 2023
8 checks passed
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