Message170712
> If I change the regex to _has_surrogates = re.compile('[\udc80-\udcff]').search, the tests still pass but there's no improvement on startup time (note: the previous regex was matching all the surrogates in this range too, however I'm not sure how well this is tested).
What about
_has_surrogates = re.compile('[^\udc80-\udcff]*\Z').match
? |
|
Date |
User |
Action |
Args |
2012-09-19 08:33:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, barry, orsenthil, nadeem.vawda, ezio.melotti, r.david.murray, rosslagerwall |
2012-09-19 08:33:04 | serhiy.storchaka | set | messageid: <1348043584.24.0.869560792961.issue11454@psf.upfronthosting.co.za> |
2012-09-19 08:32:57 | serhiy.storchaka | link | issue11454 messages |
2012-09-19 08:32:51 | serhiy.storchaka | create | |
|