Skip to content

Conversation

@Andarist
Copy link
Contributor

This reverts #54186 and adds new test cases.

While working on related stuff, I noticed that this improvement of mine was terrible and that it regressed some cases that were working before. The perf improvement was still there, just for a subset of possible cases. I now explored how this whole intra expression inference works and have much better understanding of the overall algorithm. I have some ideas how to deduplicate some work here but I will do that in a follow up PR. For the time being, it's much more important to land this revert that fixes some regressions.

cc @weswigham @jakebailey

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jun 12, 2023
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@Andarist Andarist changed the title Revert outermost intra gathering Revert collecting only outermost intra expression inference sites Jun 12, 2023
Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

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

Thanks for keeping the revert commit explicit. Given this is just a plain revert of a PR from last week (not in any release), I'll just approve and merge to back it out.

@jakebailey jakebailey merged commit 9d17b34 into microsoft:main Jun 12, 2023
@Andarist Andarist deleted the revert-outermost-intra-gathering branch June 12, 2023 17:21
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants