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

Replace init of empty byte arrays with Array.Empty

    XMLWordPrintable

Details

    • 1

    Description

      Empty byte arrays are effectively immutable objects, so creating a new one on the heap every time is unnecessary. Efficiency can be improved by using a singleton.

      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