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

Remove closures when using ConcurrentDictionary #7425

Merged
merged 1 commit into from
Dec 7, 2021
Merged

Remove closures when using ConcurrentDictionary #7425

merged 1 commit into from
Dec 7, 2021

Conversation

meziantou
Copy link
Contributor

@meziantou meziantou commented Dec 4, 2021

Remove closures by using the factoryArgument parameter. This reduces allocations and is slightly faster.

Microsoft Reviewers: Open in CodeFlow

@meziantou meziantou marked this pull request as ready for review December 4, 2021 20:02
@ReubenBond ReubenBond merged commit df44d31 into dotnet:main Dec 7, 2021
@ReubenBond
Copy link
Member

Thank you, @meziantou

@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants