We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
JoinableTaskDependencyGraph.GetDependentTasksFromCandidates uses LINQ Contains instead of HashSet.Contains
JoinableTaskDependencyGraph.GetDependentTasksFromCandidates
Contains
HashSet.Contains
Code inspection via VS intellisense shows LINQ Enumerable.Contains extension method being used:
Enumerable.Contains
if (candidates.Contains(startDepenentNode))
Fast HashSet.Contains method should be used
Slower LINQ enumeration is used
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug description
JoinableTaskDependencyGraph.GetDependentTasksFromCandidates
uses LINQContains
instead ofHashSet.Contains
Repro steps
Code inspection via VS intellisense shows LINQ
Enumerable.Contains
extension method being used:Expected behavior
Fast
HashSet.Contains
method should be usedActual behavior
Slower LINQ enumeration is used
The text was updated successfully, but these errors were encountered: