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

Remove one call to charCodeAt in a tight loop while parsing input #1816

Closed
wants to merge 1 commit into from

Conversation

juancampa
Copy link
Contributor

@juancampa juancampa commented Dec 8, 2018

I've been profiling really long outputs on hyper and this is in the hot path. Not sure how much this helps (probably not a lot) but it doesn't hurt either.

@jerch
Copy link
Member

jerch commented Dec 8, 2018

@juancampa #1796 will speedup the parser and also addresses this. It is currently blocked by the JSArray buffer, see #1811 for further optimization plans.

@Tyriar
Copy link
Member

Tyriar commented Dec 9, 2018

Thanks for the PR and investigation @juancampa, @jerch has this one covered though 😃

@Tyriar Tyriar closed this Dec 9, 2018
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.

3 participants