[issue21486] optimize v4 netmask parsing

Antoine Pitrou report at bugs.python.org
Mon May 12 20:24:46 CEST 2014


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
messages: 218344
nosy: ncoghlan, pitrou, pmoody
priority: low
severity: normal
stage: patch review
status: open
title: optimize v4 netmask parsing
type: performance
versions: Python 3.5
Added file: http://bugs.python.org/file35231/v4_netmask.patch

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


More information about the Python-bugs-list mailing list