[issue21486] optimize v4 netmask parsing

2014-05-12 Thread Antoine Pitrou
New submission from Antoine Pitrou: Here is a patch to optimize ipv4 netmask parsing by maintaining a cache (there are not many valid ipv4 netmask representations). This should be especially useful with #16531. -- components: Library (Lib) files: v4_netmask.patch keywords: patch messag

[issue21486] optimize v4 netmask parsing

2014-05-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: +Allow IPNetwork to take a tuple ___ Python tracker ___ ___ Python-bugs-list mailing list