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

Use ARM intrinsics for CRC32 calculations

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • backlog-3.0
    • None
    • library
    • None
    • 1

    Description

      On .NET 5 and later we can use ARM intrinsics to perform CRC32 calculations for key hashes. This will improve performance whenever we're running on ARM CPUs.

      Example implementation: https://github.com/brantburnett/Snappier/blob/77dc523e57b04d498953e629292254e02360dd39/Snappier/Internal/Crc32CAlgorithm.cs#L49-L79

      Note the above example is CRC32C, but there are matching intrinsics for CRC32.

      Attachments

        Issue Links

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

          Activity

            People

              jmorris Jeff Morris
              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