Number set type

Justin Azoff justin.azoff at
Thu Dec 29 03:24:08 CET 2005

You could use IPy... is one location for it...

I wonder where you get O(n) and O(n^2) from... CIDR blocks are all
sequential.. All you need to store is the starting and ending address
or length.  Then any set operation only has to deal with 4 numbers, and
should be literally a few lines of code with no loops.

More information about the Python-list mailing list