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

System.Linq ToDictionary performance improvement #15246

Closed
ikopylov opened this issue Sep 20, 2015 · 0 comments
Closed

System.Linq ToDictionary performance improvement #15246

ikopylov opened this issue Sep 20, 2015 · 0 comments
Milestone

Comments

@ikopylov
Copy link
Contributor

This issue address a ToDictionary part of the closed issue #14366.

Two things can be improved in ToDictionary method:

  1. Initial capacity estimation for known collection types (T[] and ICollection);
  2. Separate implementation of the overload without elementSelector to avoid usage of IdentityFunction.
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 1.0.0-rtm milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants