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

feat(es/minfiier): Compute more with sequential inliner #6169

Merged
merged 29 commits into from Oct 27, 2022

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Oct 15, 2022

Description:

Related issue:

@kdy1 kdy1 added this to the Planned milestone Oct 15, 2022
@kdy1 kdy1 self-assigned this Oct 15, 2022
Copy link
Member Author

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

swc-bump:

  • swc_ecma_transform_optmization
  • swc_ecma_minifier

@kdy1 kdy1 marked this pull request as ready for review October 17, 2022 02:31
kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 17, 2022
@kdy1 kdy1 requested a review from jridgewell October 17, 2022 02:31
@@ -1 +1,5 @@
var a = [
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a regression

@kdy1 kdy1 marked this pull request as draft October 17, 2022 02:41
@kdy1 kdy1 marked this pull request as ready for review October 17, 2022 02:48
kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 17, 2022
jridgewell
jridgewell previously approved these changes Oct 17, 2022
kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 18, 2022
kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 18, 2022
jridgewell
jridgewell previously approved these changes Oct 18, 2022
kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 21, 2022
kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 21, 2022
/// This assumes `a.left.to_id() == b.left.to_id()`
fn can_drop_op_for(a: AssignOp, b: AssignOp) -> bool {
if a == b {
return matches!(a, op!("+=") | op!("-=") | op!("*="));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll improve this function with another PR

kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 26, 2022
Copy link
Collaborator

@swc-bot swc-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review comment generated by auto-rebase script

kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 26, 2022
Copy link
Collaborator

@swc-bot swc-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review comment generated by auto-rebase script

@kdy1 kdy1 merged commit 743a1aa into swc-project:main Oct 27, 2022
@kdy1 kdy1 deleted the computation branch October 27, 2022 00:50
@kdy1 kdy1 modified the milestones: Planned, v1.3.12, v1.3.13 Nov 2, 2022
@swc-project swc-project locked as resolved and limited conversation to collaborators Dec 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants