[issue21486] optimize v4 & v6 netmask parsing

Antoine Pitrou report at bugs.python.org
Thu May 15 14:49:10 CEST 2014


Antoine Pitrou added the comment:

Actually, using lru_cache(maxsize=None) would enable a simple infinite cache like in the patch. But it's not like a lot of code would be saved.

----------

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


More information about the Python-bugs-list mailing list