RE Module Performance

MRAB python at mrabarnett.plus.com
Fri Jul 12 19:16:06 EDT 2013


On 12/07/2013 23:16, Tim Delaney wrote:
> On 13 July 2013 03:58, Devyn Collier Johnson <devyncjohnson at gmail.com
> <mailto:devyncjohnson at gmail.com>> wrote:
>
>
>     Thanks for the thorough response. I learned a lot. You should write
>     articles on Python.
>     I plan to spend some time optimizing the re.py module for Unix
>     systems. I would love to amp up my programs that use that module.
>
>
> If you are finding that regular expressions are taking too much time,
> have a look at the https://pypi.python.org/pypi/re2/ and
> https://pypi.python.org/pypi/regex/2013-06-26 modules to see if they
> already give you enough of a speedup.
>
FYI, you're better off going to http://pypi.python.org/pypi/regex
because that will take you to the latest version.



More information about the Python-list mailing list