Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
1
Description
The current approach to byte and bit handling on IByteConverter and DefaultConverter has some performance shortfalls.
- Because we're using an interface, they can't be inlined
- Slicing a span to pass to a method to get/set the first byte is slower than just indexing into the span (and unnecessary slicing is expressly recommended against by Microsoft)
Attachments
For Gerrit Dashboard: NCBC-1954 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
108976,3 | NCBC-1954: Improve convert byte/bit handling | master | couchbase-net-client | Status: MERGED | +2 | +1 |