3 ms·
Routers don't store IP addresses as strings... They use 32 bit and 2X64 bit unsigned ints usually. And you can't compress something when measuring cardinality.
by slackingoff2017 9y ago
Routers don't store IP addresses as strings... They use 32 bit and 2X64 bit unsigned ints usually.
And you can't compress something when measuring cardinality. Each route takes up an entry and the minimum space you can use with a non probabilistic structure is 1 bit per entry in a bit map.
There's compressed bitmaps but the random nature of routes will not compress well.