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)