RE Module Performance

Devyn Collier Johnson devyncjohnson at gmail.com
Tue Jul 16 06:30:33 EDT 2013


Am 07/12/2013 07:16 PM, schrieb MRAB:
> 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.
Thank you everyone for the suggestions. I have not tried them yet.

Devyn Collier Johnson



More information about the Python-list mailing list