Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2692

Performance: Reduce byte buffer allocations during deserialization

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0
    • Affects Version/s: 2.8.1, 2.9.0
    • Component/s: Performance, Serialization
    • 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
          31 kB
          dnickless
        2. mem1.JPG
          167 kB
          Boris Dogadov

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            daniel.hegener@gmx.net Daniel Hegener
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: