scionproto / scion

SCION Internet Architecture
https://www.scion-architecture.net/
Apache License 2.0
369 stars 156 forks source link

Router: remove most uses of net.UDPAddr in favor of netip.AddrPort #4526

Open jiceatscion opened 1 month ago

jiceatscion commented 1 month ago

This stemmed from an effort at reducing the cost of ResolveLocal, which comes mostly from the net.UDPAddr API causing lots of garbage to collect. In the end that change is a bit viral and many more less costly uses were removed as well.

matzf commented 1 month ago

This change is Reviewable