-
Notifications
You must be signed in to change notification settings - Fork 116
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
Taking too much time to load/parse grammar #197
Comments
Here is the top of the profile output:
|
And here is the output of
|
And here with only
|
The latest improves performance of |
Thank you it's working fine now for the example shown above ! |
Good catch! I just updated it. |
Making tests with
cpp-peglib
with grammars converted frompegjs
I found one grammar wherepeglint
and the online playground takes too much time/cpu to load/parse the grammar, the same grammar withleg
from https://github.com/mingodad/peg parses instantly (also it's generated instantly).See attached the grammar used for this test.
Comparison of both parsing the small
sql
input shown bellow:The
sql
input:sql-parser.zip
The text was updated successfully, but these errors were encountered: