Skip to content

Remove some transformations in printer #3907

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

Merged
merged 6 commits into from
Oct 25, 2019
Merged

Remove some transformations in printer #3907

merged 6 commits into from
Oct 25, 2019

Conversation

bobzhang
Copy link
Member

The benefit is not worth the complexity, we can add it in other layer if needed

  • spot ++i, —i , i += xx , i -= xx pattern
  • spot pattern a[I] = a [I] +- j pattern (this is preserved, since it does add some better perf)

The benefit is not worth the complexity, we can add it in other layer if needed
- spot `++i,  —i , i += xx , i -= xx` pattern
- spot pattern `a[I] = a [I] +- j` pattern (this is preserved, since it does add some better perf)
@bobzhang bobzhang merged commit 6dd2ec3 into master Oct 25, 2019
@bobzhang bobzhang deleted the refctor_js_print branch October 25, 2019 08:35
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