Skip to content

Remove unneeded allocations in ItemSpec.MatchesItem #2330

Merged
rainersigwald merged 2 commits intodotnet:masterfrom
davkean:MatchesItem
Jul 20, 2017
Merged

Remove unneeded allocations in ItemSpec.MatchesItem #2330
rainersigwald merged 2 commits intodotnet:masterfrom
davkean:MatchesItem

Conversation

@davkean
Copy link
Copy Markdown
Member

@davkean davkean commented Jul 20, 2017

This was allocating a capture class, Func and boxing the enumerator of Fragments:

image

davkean added 2 commits July 20, 2017 11:34
This is in preparation to avoid boxing the enumerator.
This was allocating a capture class, Func and boxing the enumerator of Fragments.
@davkean
Copy link
Copy Markdown
Member Author

davkean commented Jul 20, 2017

Most of the allocations in this method is coming from ComparePathsNoThrow (200 MB) - are we fixing that? @dsplaisted @cdmihai

@davkean
Copy link
Copy Markdown
Member Author

davkean commented Jul 20, 2017

@AndyGerlicher @rainersigwald Can we merge this in?

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