What's the fastest and most reliable way to aggregate array of ipv4 addresses into CIDRs in Go?
15:47 04 Feb 2026

I have an array of ipv4 addresses (over 750k addresses). I want to reduce this to shortest array of non overlapping CIDRs. How can I do this in go as fast as possible?

go network-programming cidr