Skip to content

Avoid delegate allocation to call ListCollectionView.PrepareComparer - #6511

Merged
singhashish-wpf merged 1 commit into
dotnet:mainfrom
stephentoub:listcollectionviewstate
Jul 21, 2022
Merged

singhashish-wpf merged 1 commit into
dotnet:mainfrom
stephentoub:listcollectionviewstate

Conversation

@stephentoub

@stephentoub stephentoub commented May 1, 2022 •

Copy link
Copy Markdown
Member

Description

Pass the required state in as a state object to be passed on to the delegate invocation.

Customer Impact

Unnecessary allocation

Regression

No

Testing

CI

Risk

Minimal

Microsoft Reviewers: Open in CodeFlow

Pass the required state is a a static object to be passed on to the delegate invocation.
@stephentoub
stephentoub requested a review from a team as a code owner May 1, 2022 02:44
@ghost ghost assigned stephentoub May 1, 2022
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label May 1, 2022
@ghost
ghost requested review from SamBent, dipeshmsft and singhashish-wpf May 1, 2022 02:44
@singhashish-wpf
singhashish-wpf merged commit c8742b5 into dotnet:main Jul 21, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

PR metadata: Label to tag PRs, to facilitate with triage

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants