You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at history, in particular, #cc1e115c it looks by design that you are creating lots of these:
The text was updated successfully, but these errors were encountered:
davkean
changed the title
MSBuildNameIgnoreCaseComparer is 1% of a solution-wide design-time build
MSBuildNameIgnoreCaseComparer is allocating 1% of a solution-wide design-time build
Aug 16, 2017
Fixes: dotnet#2434
Partially fixes: dotnet#2429
This change converts MSBuildNameIgnoreCaseComparer to a stateless comparer by implementing IConstrainedEqualityComparer, this avoids:
1. Creating a new comparer for every collection (saves ~1% of allocations)
2. Locking within Equals/GetHashCode (saves ~0.2% of allocations)
This saves approx 300ms running a design time build over the project called out in dotnet/project-system#2789.
From here: dotnet/project-system#2712.
Looking at history, in particular, #cc1e115c it looks by design that you are creating lots of these:

The text was updated successfully, but these errors were encountered: