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

Jcb/string lit perf #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

johnchandlerburnham
Copy link
Contributor

@MaiaVictor Don't merge this yet, just wanted to get your advice on how to proceed with the goal of increasing the size of the string literals we can work with on the js implementation.

This has a rewrittten parse_str that runs out of heap when parsing somewhere between 1 million and 5 million chars, just by converting the previous recursive function into a while loop. I think similar opportunities may exist for literals in stringification and typechecking

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