Quote Originally Posted by dilettante View Post
256 * 256 * 256 * 256 / 8 = 536,870,912 is a pretty big table.

You can probably drop the 0 and 255 values of course, and there is a smaller set of subnets than this to consider... but the table will still get darned big.

Trying to store as Boolean instead of packing bits it becomes massive, potentially too large to use at all.

IP lists that do not have IP address level resolution are not IP lists. What you have is at best a subnet list unless you consider all 32 bits.

He is trying to point if inside USA or outside of USA..

None company in the world, woud have a "part" of the fourth element in the IP. NONE!

Companies are given whole 256 ranges.

If not whole 65536 ranges. (ISPs). As it is like the routing works in Internet. Other way tables at routing would be huge, and slow.