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

Avoid heap allocations for default K/V operations

    XMLWordPrintable

Details

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

    Description

      Currently, when a K/V operation is executed with null for the XXXOptions, a new XXXOptions is instantiated with defaults. This could be optimized to use a static default instance to avoid the extra heap allocation.

      Note that we may want to implement some immutability to avoid accidentally mutating the defaults.

      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