FSR and unicode compliance - was Re: RE Module Performance

Chris Angelico rosuav at gmail.com
Mon Jul 29 07:57:47 EDT 2013


On Mon, Jul 29, 2013 at 12:43 PM,  <wxjmfauth at gmail.com> wrote:
> Le dimanche 28 juillet 2013 22:52:16 UTC+2, Steven D'Aprano a écrit :
> 3.2
>>>> timeit.timeit("r = dir(list)")
> 22.300465007102908
>
> 3.3
>>>> timeit.timeit("r = dir(list)")
> 27.13981129541519

3.2:
>>> len(dir(list))
42

3.3:
>>> len(dir(list))
45

Wonder if that might maybe have an impact on the timings.

ChrisA



More information about the Python-list mailing list