-
Notifications
You must be signed in to change notification settings - Fork 8
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
Additional parentheses cause significant increase of parsing time #305
Comments
Enabling packrat parsing improves the performance significantly, so that the whole example shown above runs in less than 1 s. |
@treiher We had packrat off? Then I'm impressed that we had no more severe performance issues. |
It's the default.
|
Parentheses have an unexpectedly high impact on the parsing time. Just by adding two pairs of parenthesis (without changing the semantics of the expression) the parsing time increased from 1 s to 53 s on my local machine.
The text was updated successfully, but these errors were encountered: