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

fix(compiler): generate less code for advance instructions #53845

Closed
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Jan 9, 2024

We generate advance instructions before most update instructions and the majority of advance calls are advancing by one. We can save some bytes for the most common case by omitting the parameter for advance(1) altogether.

We generate `advance` instructions before most update instructions and the majority of `advance` calls are advancing by one. We can save some bytes for the most common case by omitting the parameter for `advance(1)` altogether.
@crisbeto crisbeto added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release area: compiler Issues related to `ngc`, Angular's template compiler labels Jan 9, 2024
@ngbot ngbot bot added this to the Backlog milestone Jan 9, 2024
@crisbeto crisbeto marked this pull request as ready for review January 9, 2024 08:45
@crisbeto crisbeto requested a review from JoostK January 9, 2024 10:01
@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 9, 2024
@crisbeto
Copy link
Member Author

crisbeto commented Jan 9, 2024

Caretaker note: the presubmit failure is due to some pre-existing broken targets.

@atscott
Copy link
Contributor

atscott commented Jan 9, 2024

This PR was merged into the repository by commit 2dedc4a.

atscott pushed a commit that referenced this pull request Jan 9, 2024
We generate `advance` instructions before most update instructions and the majority of `advance` calls are advancing by one. We can save some bytes for the most common case by omitting the parameter for `advance(1)` altogether.

PR Close #53845
@atscott atscott closed this in 2dedc4a Jan 9, 2024
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…3845)

We generate `advance` instructions before most update instructions and the majority of `advance` calls are advancing by one. We can save some bytes for the most common case by omitting the parameter for `advance(1)` altogether.

PR Close angular#53845
rlmestre pushed a commit to rlmestre/angular that referenced this pull request Jan 26, 2024
…3845)

We generate `advance` instructions before most update instructions and the majority of `advance` calls are advancing by one. We can save some bytes for the most common case by omitting the parameter for `advance(1)` altogether.

PR Close angular#53845
danieljancar pushed a commit to danieljancar/angular that referenced this pull request Jan 26, 2024
…3845)

We generate `advance` instructions before most update instructions and the majority of `advance` calls are advancing by one. We can save some bytes for the most common case by omitting the parameter for `advance(1)` altogether.

PR Close angular#53845
amilamen pushed a commit to amilamen/angular that referenced this pull request Jan 26, 2024
…3845)

We generate `advance` instructions before most update instructions and the majority of `advance` calls are advancing by one. We can save some bytes for the most common case by omitting the parameter for `advance(1)` altogether.

PR Close angular#53845
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants