Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

optimise IsEmptyArray #272

Merged
merged 1 commit into from
Mar 30, 2020
Merged

optimise IsEmptyArray #272

merged 1 commit into from
Mar 30, 2020

Conversation

SimonCropp
Copy link
Contributor

This is a minor perf tweek. but i figured it might be in the hot path, so i would submit it anyway

  • combines an is and a cast into a pattern match
  • which means the value is object should also be redundant?
  • also the type param was never used

@SimonCropp
Copy link
Contributor Author

BTW. please tell me if these PRs are getting annoying

@davidfowl
Copy link
Member

@SimonCropp only a little. I would prefer if you could take a look at some of the filed issues. That would help us make progress.

Also if you're interested here's the 0.1 board https://github.com/dotnet/tye/projects/3

@davidfowl davidfowl merged commit 4a71a91 into dotnet:master Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants