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

Reduce size of generated parser #5

Open
erezsh opened this issue Aug 16, 2021 · 0 comments
Open

Reduce size of generated parser #5

erezsh opened this issue Aug 16, 2021 · 0 comments

Comments

@erezsh
Copy link
Member

erezsh commented Aug 16, 2021

Size is affected by parser + serialized data

The parser is already of a reasonable size (~15kb in min+zip), but it could be further reduced by refactoring the parse_tree_builder and lexer to serialize instead of rebuild at runtime. (also should have a slight faster loading time).

The serialized data can be changed into a better format, more efficient and with less repetition. Although it's not clear that it will make much difference when zipped.

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

No branches or pull requests

1 participant