RE Module Performance

wxjmfauth at gmail.com wxjmfauth at gmail.com
Fri Jul 12 05:23:19 EDT 2013


Le vendredi 12 juillet 2013 01:44:05 UTC+2, Devyn Collier Johnson a écrit :
> I recently saw an email in this mailing list about the RE module being 
> 
> made slower. I no long have that email. However, I have viewed the 
> 
> source for the RE module, but I did not see any code that would slow 
> 
> down the script for no valid reason. Can anyone explain what that user 
> 
> meant or if I missed that part of the module?
> 
> 
> 
> Can the RE module be optimized in any way or at least the "re.sub" portion?
> 
> 
> 
> Mahalo,
> 
> 
> 
> Devyn Collier Johnson
> 
> DevynCJohnson at Gmail.com

----------

I would not care too much about the performance
of re.

With the new Flexible String Representation, you
can use a logarithmic scale to compare re results.
To be honest, there is improvment if you are an
ascii user.

Am I the only one who tested this? Probably.

jmf





More information about the Python-list mailing list