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

Use Any extension method in EnumerableExtensionsForConventions.IsEmpty and IsNotEmpty #446

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

hype8912
Copy link
Contributor

Updated methods to use the Any() Linq extension method. Using Count() is horrible for performance.

Updated methods to use the Any() Linq extension method. Using Count() is horrible for performance.
@hazzik hazzik changed the title Update EnumerableExtensionsForConventions.cs Use .Any in EnumerableExtensionsForConventions.IsEmpty and IsNotEmpty Sep 18, 2020
@hazzik hazzik changed the title Use .Any in EnumerableExtensionsForConventions.IsEmpty and IsNotEmpty Use Any extension method in EnumerableExtensionsForConventions.IsEmpty and IsNotEmpty Sep 18, 2020
@hazzik hazzik merged commit 571ba43 into nhibernate:master Sep 18, 2020
@hazzik hazzik added this to the 2.1.3 milestone Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants