Skip to content
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

Reduce Number of isAppTy calls #8275

Merged
merged 1 commit into from
Jan 21, 2020
Merged

Reduce Number of isAppTy calls #8275

merged 1 commit into from
Jan 21, 2020

Conversation

forki
Copy link
Contributor

@forki forki commented Jan 18, 2020

We don't need to compute both things in the inner loop

@forki forki closed this Jan 18, 2020
@forki forki reopened this Jan 18, 2020
@forki forki closed this Jan 18, 2020
@forki forki reopened this Jan 18, 2020
@forki forki closed this Jan 19, 2020
@forki forki reopened this Jan 19, 2020
Copy link
Contributor

@cartermp cartermp left a comment

Choose a reason for hiding this comment

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

Good change, minor nit

// check if they are the same logical type (after removing all abbreviations)
tyconRefEq g tcr1 tcr2
| _ -> false)
| _ -> false
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: ValueNone should probably be preferred. Even though _ is used a lot in this codebase I think it's best if we only add new _ if we have 2 or more cases we don't care about

@KevinRansom KevinRansom merged commit be70bd9 into dotnet:master Jan 21, 2020
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
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.

3 participants