Files
Johannes Weiss 03c541a24d speed up getBytes (#762)
Motivation:

Due to https://bugs.swift.org/browse/SR-9604, ByteBuffer.getBytes
seriously regressed (factor 10x) since NIO 1.11 . This works around it
until the issue is fixed.

Modifications:

bind the memory to UInt8s to get an UnsafeBufferPointer<UInt8> rather
than an UnsafeRawBufferPointer.

Result:

- getBytes 10x faster
- make @John-Connolly happy, thanks for reporting!

(cherry picked from commit 264fbe0f315bd50e4a5b81b92ffc5cc93dc558f3)
2019-01-22 08:49:12 +00:00
..
2019-01-22 08:49:12 +00:00
2018-09-27 11:32:43 +01:00
2018-03-19 14:43:38 +01:00