Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Improve StreamWriter format perf #19235

Merged
merged 2 commits into from Aug 6, 2018
Merged

Commits on Aug 2, 2018

  1. Improve StreamWriter format perf

    Override the format overloads for TextWriter and skip the extra string allocation for the formatted string by using StringBuilder directly, copying straight to the output buffer.
    
    Improves performance roughtly 10% and cuts allocations by 10x and up (formatting a string into a string goes to *zero* allocations).
    JeremyKuhne committed Aug 2, 2018
    Copy the full SHA
    627eb97 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    9286970 View commit details
    Browse the repository at this point in the history