Skip to content

Compiler: loops no longer absorb the entire continuation #1334

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

Closed
wants to merge 1 commit into from

Conversation

hhugo
Copy link
Member

@hhugo hhugo commented Nov 21, 2022

based on #1333.

The current implementation exits a loop as soon as possible. The generated code would be better if we allowed part of the continuations to remains inside the for-loop.

TODO: rebase on top of #1496

@hhugo hhugo changed the title Compiler: loops no longer absorbe the entire continuation Compiler: loops no longer absorb the entire continuation Nov 21, 2022
@hhugo hhugo force-pushed the exit-loop-early branch 9 times, most recently from ac1985e to 0417d84 Compare November 25, 2022 00:33
@hhugo hhugo force-pushed the exit-loop-early branch 3 times, most recently from 494d8d2 to 1a86c20 Compare December 12, 2022 13:03
@hhugo hhugo force-pushed the exit-loop-early branch 2 times, most recently from 80ba4bc to b9110d6 Compare January 13, 2023 13:52
@hhugo hhugo closed this Aug 5, 2023
@hhugo hhugo mentioned this pull request Aug 7, 2023
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