mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Make the Promise a struct to improve performance. As the Promise only contains a reference it also not change any semantics for the user. Before: `Bandwidth per channel: 14367.103⇅ Mbps (1795887.9 kBps)` After: `Bandwidth per channel: 14772.899⇅ Mbps (1846612.4 kBps)`