This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients gvanrossum, martin.panter, orsenthil, serhiy.storchaka, vstinner, yselivanov
Date 2015-03-03.18:40:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425408015.77.0.329642112315.issue20271@psf.upfronthosting.co.za>
In-reply-to
Content
With optimizations in issue23563 and weaken IPv6 check the implementation of urlsplit() can be faster.

$ ./python -m timeit -s "from urllib.parse import urlparse, clear_cache" -- "urlparse('http://python.org:80'); clear_cache()"
10000 loops, best of 3: 86.3 usec per loop
$ ./python -m timeit -s "from urllib.parse import urlparse, clear_cache" -- "urlparse('http://[2001:4802:7901:0:e60a:1375:0:5]:80'); clear_cache()"
10000 loops, best of 3: 88.6 usec per loop
History
Date User Action Args
2015-03-03 18:40:15serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, orsenthil, vstinner, martin.panter, yselivanov
2015-03-03 18:40:15serhiy.storchakasetmessageid: <1425408015.77.0.329642112315.issue20271@psf.upfronthosting.co.za>
2015-03-03 18:40:15serhiy.storchakalinkissue20271 messages
2015-03-03 18:40:15serhiy.storchakacreate