[issue20826] Faster implementation to collapse consecutive ip-networks

Antoine Pitrou report at bugs.python.org
Mon May 12 18:53:17 CEST 2014


Antoine Pitrou added the comment:

Uh, those measurements are wrong, sorry, since tester.py doesn't consume the iterator. When consuming the iterator, the patch is ~ 4x faster than the original code, which is more reasonable :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20826>
_______________________________________


More information about the Python-bugs-list mailing list