Skip to content

Conversation

@vzarytovskii
Copy link
Member

@vzarytovskii vzarytovskii commented Apr 22, 2024

Description

Decision tree splitting during optimisation had some low-ish thresholds, here we make sure we don't ever split if we see resumable code invocation (in this case we check for the application for Run/Delay, etc).

Fixes #16068

Checklist

  • Test cases added
  • Release notes entry updated

@vzarytovskii vzarytovskii requested a review from a team as a code owner April 22, 2024 12:43
@vzarytovskii vzarytovskii changed the title Dont split resumable code Don't split resumable code Apr 22, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Apr 22, 2024

❗ Release notes required


✅ Found changes and release notes in following paths:

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/8.0.400.md

@psfinaki
Copy link
Contributor

I think I saw this warning suppressed in a couple of our projects (at least editor and editor.tests) - can the suppression be removed there now?

@vzarytovskii
Copy link
Member Author

vzarytovskii commented Apr 22, 2024

I think I saw this warning suppressed in a couple of our projects (at least editor and editor.tests) - can the suppression be removed there now?

No, this fixes only specific case - when it was caused by function split. Others should be worked on 1 by 1, besides it's only ignored in tests, and this warning (FS3511) by no means crucial, code still works, RunDynamic is still fast.

@T-Gro T-Gro merged commit f68d7b6 into dotnet:main Apr 23, 2024
psfinaki pushed a commit that referenced this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Task builder produces warning if there are too many bindings inside IF branch

3 participants