msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

reuse the Translator instead of always allocating a new one

Open ttstanley opened this issue 6 months ago • 0 comments

Fixes # Allocation of Translator

Context

In a trace we were seeing that there were allocations for a write translator. image Which can be avoided.

Changes Made

Instead of allocating a new translator everytime during the do-while loop. We will just reuse the one we have.

ttstanley avatar Jun 06 '25 21:06 ttstanley