Message306382
> 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. |
|
Date |
User |
Action |
Args |
2017-11-16 17:04:10 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, louielu |
2017-11-16 17:04:10 | vstinner | set | messageid: <1510851850.55.0.213398074469.issue31324@psf.upfronthosting.co.za> |
2017-11-16 17:04:10 | vstinner | link | issue31324 messages |
2017-11-16 17:04:10 | vstinner | create | |
|