Performance: Reduce byte buffer allocations during deserialization

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.12.0
    • Affects Version/s: 2.8.1, 2.9.0
    • Component/s: Performance, Serialization
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The profiler says:

      The Utf8Encoding type provides and overload for the GetBytes method which can be leveraged to avoid those not needed allocations,

        1. image-2019-08-15-09-26-18-570.png
          image-2019-08-15-09-26-18-570.png
          31 kB
        2. mem1.JPG
          mem1.JPG
          167 kB

            Assignee:
            Boris Dogadov
            Reporter:
            Daniel Hegener
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: