Antoine Pitrou added the comment:

Good point, this is a much faster implementation. Updated patch (and fixed the 
implementation to not return more than `bits`).

----------
Added file: http://bugs.python.org/file35251/ipaddr_perf2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21487>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to