Skip to content

Restore early termination check in analyze_expr_while - #3747

Merged
Stefan J. Wernli (swernli) merged 1 commit into
mainfrom
swernli/restore-early-exit-check
Sep 29, 2026
Merged

Stefan J. Wernli (swernli) merged 1 commit into
mainfrom
swernli/restore-early-exit-check

Conversation

@swernli

Copy link
Copy Markdown
Contributor

The perf improvement from #3623 turns out to have been a bit of a trap. While the early termination check does add a few ms to RCA on the stdlib, it turns out to save an order of magnitude on compiling some larger, complex Q# projects. Putting it back in will have a net benefit for those cases.

The perf improvement from #3623 turns out to have been a bit of a trap. While the early termination check does add a few ms to RCA on the stdlib, it turns out to save an order of magnitude on compiling some larger, complex Q# projects. Putting it back in will have a net benefit for those cases.
@swernli
Stefan J. Wernli (swernli) added this pull request to the merge queue Sep 29, 2026
Merged via the queue into main with commit 0e7cd4a Sep 29, 2026
16 checks passed
@swernli
Stefan J. Wernli (swernli) deleted the swernli/restore-early-exit-check branch September 29, 2026 05:09
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.

2 participants