mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Motivation: We should just use one Box to store both, the local and the remote address. This will remove some heap allocations. And reduce memory overhead. Modifications: Use a tuple which holds the local and remote address and so only use one Box for the cached addresses. Result: Less heap allocations and less memory usage.