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

Use Span<byte> for VBucketKeyMapper.GetIndex

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1.1
    • 3.1.0
    • library
    • None
    • 1

    Description

      Encoding the key to a stackalloc Span<byte> will be more efficient. However, it may require the C# 9 compiler to support SkipLocalsInitAttribute to provide sufficient gains given the added cost of zeroing the span.

      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