Skip to content

Reduce allocations in AnalyzerConfig.UnescapeSectionName#80288

Merged
ToddGrun merged 2 commits intodotnet:mainfrom
ToddGrun:dev/toddgrun/AnalyzerConfig.UnescapeSectionName-Allocations
Sep 16, 2025
Merged

Reduce allocations in AnalyzerConfig.UnescapeSectionName#80288
ToddGrun merged 2 commits intodotnet:mainfrom
ToddGrun:dev/toddgrun/AnalyzerConfig.UnescapeSectionName-Allocations

Conversation

@ToddGrun
Copy link
Copy Markdown
Contributor

Just a simple switch to using a pooled StringBuilder. Not a huge allocator, but easy enough to switch.

image

Just a simple switch to using a pooled StringBuilder. Not a huge allocator, but easy enough to switch.
@ToddGrun ToddGrun requested a review from a team as a code owner September 15, 2025 20:54
Copy link
Copy Markdown
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 2)

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