Skip to content

Cache the regularized form of union types - #37749

Merged
Wesley Wigham (weswigham) merged 3 commits into
microsoft:masterfrom
weswigham:cache-regular-unions
Apr 3, 2020
Merged

Wesley Wigham (weswigham) merged 3 commits into
microsoft:masterfrom
weswigham:cache-regular-unions

Conversation

@weswigham

@weswigham Wesley Wigham (weswigham) commented Apr 2, 2020 •

Copy link
Copy Markdown
Member

Fixes #37744

I doubled the example size for good measure. This simple change takes the test run down from 11 minutes to 30 seconds. That 30 seconds could likely still stand to be improved, but this fixes the obvious complexity issue.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Degenerate compiler performance when processing large unions

4 participants