dotnet / dotnet/msbuild

Use StringBuilderCache more

Open
#7,299 5 comments 0 reactions 0 assignees View on GitHub
Area: Performance triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

We often make new StringBuilders when we need them rather than using the cache to get a premade one. Please don't just update tests, but some of our uses are presumably in hot paths that could be improved with fewer allocations.

#7296 is what a single change might look like, though there are presumably many more.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.