Files
swift-nio/Sources
Johannes Weiss c6c1f84459 CircularBuffer: speedup removeAll (#816)
Motivation:

Previously CircularBuffer.removeAll would always allocate (a new backing
store), even when `keepingCapacity: true`.

Modifications:

Don't make CircularBuffer allocate unnecessarily

Result:

faster CircularBuffer.removeAll
2019-02-12 18:52:29 +01:00
..