mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Motivation: getInteger used the normal, generic implementation for UInt8s, however they can be made considerably faster by using a specialised method. ByteBufferIterator was also affected by this. Modifications: Use a specialised version for UInt8s for getInteger. Result: - ByteBufferView can be iterated about 20% faster.