python 2.7 and unicode (one more time)

wxjmfauth at gmail.com wxjmfauth at gmail.com
Sat Nov 22 14:32:50 EST 2014


Le samedi 22 novembre 2014 19:17:33 UTC+1, Mark Lawrence a écrit :
> On 22/11/2014 17:49, Marko Rauhamaa wrote:
> > wxjmfauth at gmail.com:
> >
> >> - By chance, I found on the web a German py dev who was commenting and
> >> he had not an updated "DUDEN" (a German dictionnary).
> >
> > That... leaves me utterly speachless!
> >
> >
> > Marko
> >
> 
> Please don't feed him.  Your average troll is bad enough but he really 
> takes the biscuit.
> 

German again. It's no a too dramatic case.

>>> timeit.timeit("('a'*1000 + '\u1e9e')[:-1]")
2.197046143133785
>>> timeit.timeit("('a'*1000 + 'z')[:-1]")
0.9829807244318012

Py 32 does better.

jmf




More information about the Python-list mailing list