Skip to content

Conversation

@ToddGrun
Copy link
Contributor

This method currently allocates two arrays (once during the ToArray call, the other in the AsImmutable call). This is generally not a problem as this is debug only code, but this method is called very frequently, so I'll change the line to make this method only allocate the array once.

This method currently allocates two arrays (once during the ToArray call, the other in the AsImmutable call). This is generally not a problem as this is debug only code, but this method is called very frequently, so I'll change the line to make this method only allocate the array once.
@ToddGrun ToddGrun requested a review from a team as a code owner April 21, 2025 21:25
@ghost ghost added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 21, 2025
Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (commit 1)

@AlekseyTs AlekseyTs requested a review from a team April 22, 2025 14:55
@AlekseyTs
Copy link
Contributor

@dotnet/roslyn-compiler For the second review

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