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

Reduce allocations in NodeStateTable.GetPackedState #72355

Merged

Conversation

ToddGrun
Copy link
Contributor

@ToddGrun ToddGrun commented Mar 1, 2024

Boxing of the EntryState enum shows up in the RichCopyTest.CopyPlain test numbers as almost 1% of allocations. This code just needs to map EntryState values to a character for packing.

*** old allocations from profile
image

Boxing of the EntryState enum shows up in the RichCopyTest.CopyPlain test numbers as almost 1% of allocations. This code just needs to map EntryState values to a character for packing.
@ToddGrun ToddGrun requested a review from a team as a code owner March 1, 2024 15:16
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 1, 2024
@jaredpar jaredpar modified the milestones: 17.10, Next Mar 1, 2024
@ToddGrun ToddGrun merged commit cf2d9be into dotnet:main Mar 1, 2024
24 checks passed
@RikkiGibson RikkiGibson modified the milestones: Next, 17.10 P3 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants