mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Motivation: Succeeded `EventLoopFuture<Void>`s are quite important in SwiftNIO, they happen all over the place. Unfortunately, we usually allocate each time, unnecessarily. Modifications: Offer `EventLoop`s the option to cache succeeded void futures. Result: Fewer allocations.