-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Optimize new ToHashSet api. #19544
Copy link
Copy link
Closed
Labels
area-System.LinqenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issuePerformance related issue
Milestone
Metadata
Metadata
Assignees
Labels
area-System.LinqenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issuePerformance related issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
dotnet/corefx#13726 added
Enumerable.ToHashSet, which is currently equivalent to writingnew HashSet<TSource>(items). We may want to look into optimizing it by adding it as another method onIIListProvider, and reducing some virtual method calls. Opening this as a tracking issue for that.cc @JonHanna