mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: We should use power of two for the underlying storage to allow us to make use of bitmasking which is faster then modulo operations. Modifications: Use power of two and replace module with bitmasking. Result: Faster implementation of CircularBuffer.