Hello,

I'm just wondering if there's a specific reason why IPAddressField is
defined as a 15-character string instead of a 32-bit integer? Using an
integer would reduce the storage size by 15 bytes to only four bytes
and make it easier to calculate ranges. Additionally, on MySQL, it's
about 30% faster to scan for an IP address when it's an integer and not
a string on a non-indexed column. 

Thanks,
Jamie


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to