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
For Gerrit Dashboard: NCBC-2754 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
142023,3 | NCBC-2754: Use Span<T> to build key in VBucketKeyMapper | master | couchbase-net-client | Status: MERGED | +2 | +1 |