[Python-Dev] PEP 3144 review. (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Sep 19 07:35:48 CEST 2009


Eric Smith wrote:

My only concern with this is a possible performance issue with v6 networks. Would this be implemented such that [-1] doesn't need to iterate through the (possibly large) address space of a v6 network?

I'm not familiar with v6, but if netmasks work the same way as they do in v4, then there's no need to iterate over anything -- it's just a matter of turning on all the low bits of the address.

-- Greg



More information about the Python-Dev mailing list