Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1954

Improve DefaultConverter Performance Around Byte/Bit Operations

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.0.0-alpha4
    • None
    • library
    • None
    • 1

    Description

      The current approach to byte and bit handling on IByteConverter and DefaultConverter has some performance shortfalls.

      • Because we're using an interface, they can't be inlined
      • Slicing a span to pass to a method to get/set the first byte is slower than just indexing into the span (and unnecessary slicing is expressly recommended against by Microsoft)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            btburnett3 Brant Burnett
            btburnett3 Brant Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty