mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: DispatchData's APIs are less than optimal and the current one we used did allocate at least on Linux to copy bytes out. Modifications: introduce ByteBuffer.write/read/set/getDispatchData Result: when Dispatch gets fixed, lower allocations