TypeCobol
TypeCobol copied to clipboard
Performance : replace Distinct() with HashSet
HashSet
is faster than using Distinct()
method on a List
.
Find all usages of Distinct()
and check if it's useful to switch to HashSet
.