Skip to content

Remove unneeded allocations in ItemSpec.MatchesItem #2330

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

Merged
merged 2 commits into from
Jul 20, 2017
Merged

Remove unneeded allocations in ItemSpec.MatchesItem #2330

merged 2 commits into from
Jul 20, 2017

Conversation

davkean
Copy link
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
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
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