[Python-Dev] (no subject)
Yogev Hendel
yogev at intsights.com
Tue Dec 26 02:01:48 EST 2017
More information about the Python-Dev mailing list
Tue Dec 26 02:01:48 EST 2017
- Previous message (by thread): [Python-Dev] Supporting functools.singledispatch with classes.
- Next message (by thread): [Python-Dev] (no subject)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I don't know if this is the right place to put this,
but I've found the following lines of code results in an incredibly long
processing time.
Perhaps it might be of use to someone.
*import re*
*pat = re.compile('^/?(?:\\w+)/(?:[%\\w-]+/?)+/?$')*
*pat.match('/t/a-aa-aa-aaaaa-aa-aa-aa-aa-aa-aa./')*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171226/77825d8d/attachment.html>
- Previous message (by thread): [Python-Dev] Supporting functools.singledispatch with classes.
- Next message (by thread): [Python-Dev] (no subject)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list