mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: When using KQueue we directly can tell what IOEvent we want to use in SelectorEvent without and branching. Modifications: Add new init method to SelectorEvent that takes the IOEvent directly and use it when using KQueue Result: Less branching per event when using KQueue