Remove some allocations from ManifestBuilder.CreateManifestString (#44532)
authorStephen Toub <stoub@microsoft.com>
Wed, 18 Nov 2020 22:39:56 +0000 (17:39 -0500)
committerGitHub <noreply@github.com>
Wed, 18 Nov 2020 22:39:56 +0000 (17:39 -0500)
commite28dbe999dfef7d51b12a8407ddc9684abe9e672
tree381bbf20d4d2cf41cf83742eba1e291f8ef74192
parent4e5463dadeb7e5a64a6725bb9d0956a47e618c97
Remove some allocations from ManifestBuilder.CreateManifestString (#44532)

For the RuntimeEventSource, this removes around 30K of allocation, though that's only ~3% of what gets allocated.
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs