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

FallbackIfEmpty Optimizations #367

Closed
viceroypenguin opened this issue May 4, 2023 · 1 comment · Fixed by #464
Closed

FallbackIfEmpty Optimizations #367

viceroypenguin opened this issue May 4, 2023 · 1 comment · Fixed by #464
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@viceroypenguin
Copy link
Owner

FallbackIfEmpty can take advantage of TryGetCollectionCount

@viceroypenguin viceroypenguin added this to the 5.1.0 milestone May 4, 2023
@viceroypenguin viceroypenguin added enhancement New feature or request good first issue Good for newcomers labels May 4, 2023
@viceroypenguin viceroypenguin modified the milestones: 5.1.0, 5.2.0 May 25, 2023
@julienasp
Copy link
Contributor

julienasp commented May 28, 2023

so basically,
if capable of giving count without enumeration and that count is 0 then use fallback.

if not, able to use TryGetCollectionCount then go with existing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants