You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we compare a lot of IP addresses, it would be nice if we could do away with the casting and 'just' natively compare them. net.IP does not allow comparison, it's moral successor, netip.Addr does allow direct comparison. Additionally it should help reduce logic around ipv4 and ipv6. Explanation here: https://djosephsen.github.io//posts/ipnet/
The text was updated successfully, but these errors were encountered:
As we compare a lot of IP addresses, it would be nice if we could do away with the casting and 'just' natively compare them. net.IP does not allow comparison, it's moral successor, netip.Addr does allow direct comparison. Additionally it should help reduce logic around ipv4 and ipv6. Explanation here: https://djosephsen.github.io//posts/ipnet/
The text was updated successfully, but these errors were encountered: