-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Performance improvements (lexer/parser) #46
Comments
Hi, I was considering that and looked into it a little bit but I do not have the knowledge. I was fiddling with it in |
I was looking into Parle earlier. I am worried about the lack of documentation. Is it even able to consume the source lang (json) chunks iteratively? If it is feel free to write a prototype. A lexer producing json tokens which would be interchangable with |
sorry, was busy^^ Current State:
Open Questions:
Next Steps:
|
You seem dedicated :) Can you show some code? Are you using tests to verify correctness? I would elaborate on other topics when we see a significant impact on performance. |
While looking for a faster alternative, I found this https://github.com/shevron/ext-jsonreader |
Let's contiune in #97 |
Hi guys,
the memory usage is awesome but the cpu-time is ~100x compared to json_decode (100MB json with 10000 entries).
Did you consider using a c-extension for the tokenizing/parsing?
Never wrote a extension, but looks like we could extend ext-json
or even just use ext-parle for the heavy lifting.
Could try to implement a lexer with ext-parle and look how the performance changes and then implement a parser if you guys think this is a good idea.
Greeting
The text was updated successfully, but these errors were encountered: