mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
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