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

Faster scope checking with arrays instead of objects #655

Closed
wants to merge 1 commit into from

Conversation

adrianheine
Copy link
Member

@adrianheine adrianheine commented Jan 19, 2018

Following a suggestion by @marijnh. Total compilation times are around 10% faster in the benchmark.

@marijnh
Copy link
Member

marijnh commented Jan 19, 2018

Nice! Thanks for implementing that.

But, of course, it's a breaking change for plugins. Maybe we should do a 6.0 soon? We also wanted to bump the default ecmaVersion (#570).

I think I'll open an issue for other breaking proposals.

@marijnh marijnh mentioned this pull request Jan 19, 2018
@jdalton
Copy link
Contributor

jdalton commented Feb 4, 2018

Good to know!

I bypass scope checks through mixins since the code I parse will be run by Node and caught there.

@marijnh
Copy link
Member

marijnh commented Sep 11, 2018

This has been merged as 21e852f

@marijnh marijnh closed this Sep 11, 2018
@adrianheine adrianheine deleted the scope branch September 14, 2018 13:10
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