XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      As mentioned in comments:

      // it might be more efficient to use a stringbuilder or write substrings
      // if writing chars to the stream is slow.

      It turns out this is the case. Generates more garbage, less efficient, can vary depending on what exactly ends up backing it.

      Works better to reuse a StringBuilder and then dump that to the writer.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              markrmiller Mark Robert Miller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h