Skip to content

Use ImmutableSegmentedDictionary in the analyzer driver#51805

Merged
sharwell merged 1 commit intodotnet:mainfrom
sharwell:faster-driver
Mar 12, 2021
Merged

Use ImmutableSegmentedDictionary in the analyzer driver#51805
sharwell merged 1 commit intodotnet:mainfrom
sharwell:faster-driver

Conversation

@sharwell
Copy link
Contributor

@sharwell sharwell commented Mar 11, 2021

These are read-heavy paths using dictionaries that are never mutated. ImmutableSegmentedDictionary<TKey, TValue> is more efficient than ImmutableDictionary<TKey, TValue> for this purpose.

@sharwell sharwell requested a review from a team as a code owner March 11, 2021 20:37
@ghost ghost added the Area-Analyzers label Mar 11, 2021
@sharwell
Copy link
Contributor Author

@dotnet/roslyn-compiler for easy second review

@sharwell sharwell merged commit 7e99a9a into dotnet:main Mar 12, 2021
@sharwell sharwell deleted the faster-driver branch March 12, 2021 16:00
@allisonchou allisonchou added this to the Next milestone Mar 12, 2021
@allisonchou allisonchou modified the milestones: Next, 16.10.P2 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants