[Python-Dev] Make re.compile faster

Serhiy Storchaka storchaka at gmail.com
Tue Oct 3 01:41:07 EDT 2017


03.10.17 06:29, INADA Naoki пише:
> More optimization can be done with implementing sre_parse and 
> sre_compile in C.
> But I have no time for it in this year.

And please don't do this! This would make maintaining the re module 
hard. The performance of the compiler is less important than correctness 
and performance of matching and searching.



More information about the Python-Dev mailing list