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 vstinner
Recipients louielu, serhiy.storchaka, vstinner
Date 2017-11-16.17:04:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510851850.55.0.213398074469.issue31324@psf.upfronthosting.co.za>
In-reply-to
Content
> There is good opportunity for optimizing the regular expression. All cases have the literal 'test.test_asyncio.' prefix, and even longer literal prefixes are common for tens cases.

I implemented such code long time ago :-)

https://github.com/haypo/hachoir3/blob/master/hachoir/regex/regex.py

I'm not sure that this code works on Python 3, it was written for Python 2 but not only ported to Python 3 partially.

It only supports a subset of regular expressions.
History
Date User Action Args
2017-11-16 17:04:10vstinnersetrecipients: + vstinner, serhiy.storchaka, louielu
2017-11-16 17:04:10vstinnersetmessageid: <1510851850.55.0.213398074469.issue31324@psf.upfronthosting.co.za>
2017-11-16 17:04:10vstinnerlinkissue31324 messages
2017-11-16 17:04:10vstinnercreate