RE Module Performance

Peter Otten __peter__ at web.de
Fri Jul 12 12:15:11 EDT 2013


Joshua Landau wrote:

> On 12 July 2013 11:45, Devyn Collier Johnson <devyncjohnson at gmail.com>
> wrote:
>> Could you explain what you mean? What and where is the new Flexible
>> String Representation?
> 
> Do not worry. jmf is on about his old rant comparing broken previous
> versions of Python to newer ones which in some microbenchmarks are
> slower. I don't really get why he spends his time on it.
> 
> If you're interested, the basic of it is that strings now use a
> variable number of bytes to encode their values depending on whether
> values outside of the ASCII range and some other range are used, as an
> optimisation.

See also <http://www.python.org/dev/peps/pep-0393/>




More information about the Python-list mailing list