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

V0ldek/nom 8.0.0 #683

Merged
merged 2 commits into from
Mar 5, 2025
Merged

V0ldek/nom 8.0.0 #683

merged 2 commits into from
Mar 5, 2025

Conversation

V0ldek
Copy link
Member

@V0ldek V0ldek commented Mar 5, 2025

Short description

There was a bunch of breaking changes in nom 8.0.0. Nom's maintainers claim it reduces code generated by parsers, which is always worth it.

It actually seems to improve performance by roughly 10% on compiling small queries. On larger queries the cost of compilation
outweighs the cost of parsing so it's not noticable.

Checklist

All of these should be ticked off before you submit the PR.

  • I ran just verify locally and it succeeded.
  • Issue was given go ahead and is linked above OR I have included justification for a minor change.
  • Unit tests for my changes are included OR no functionality was changed.

V0ldek added 2 commits March 5, 2025 15:41
There was a bunch of breaking changes in nom 8.0.0.
Nom's maintainers claim it reduces code generated by parsers,
which is always worth it.

It actually seems to improve performance by roughly 10%
on compiling small queries. On larger queries the cost of compilation
outweighs the cost of parsing so it's not noticable.
@V0ldek V0ldek merged commit 66d3a2f into main Mar 5, 2025
50 checks passed
@V0ldek V0ldek deleted the v0ldek/nom-8.0.0 branch March 5, 2025 15:40
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