mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: It's faster and contiguous storage is trivially available Modifications: - Implement WebSocketMaskingKey.withContiguousStorageIfAvailable - Make it @inlinable, requiring promoting WebSocketMaskingKey.key to internal so renamed to _key. Result: Writing WebSocketMaskingKey into ByteBuffer is about 2x faster.