python3.0 - any hope it will get faster?

Kay Schluehr kay.schluehr at gmx.net
Tue Dec 9 12:05:45 CET 2008


On 9 Dez., 11:51, Helmut Jarausch <jarau... at igpm.rwth-aachen.de>
wrote:
> Hi,
>
> I was somewhat surprised when I ran pystones with python-2.5.2 and
> with python-3.0
>
> On my old/slow machine I get
>
> python-2.5.2
> from test import pystone
> pystone.pystones()
>    gives  (2.73, 18315.018315018315)
>
> python-3.0
> from test import pystone
> pystone.pystones()
>    gives  (4.2700000000000005, 11709.601873536298)
>
> That's a drop of 36% !
>
> I know that processing unicode is inherently slower,
> but still I was surprised that it's so much slower.

On my WinXP notebook

python-3.0

>>> from test import pystone
>>> pystone.pystones()
(1.1734318188484849, 42610.059823557647)


python-2.5.1

>>> from test import pystone
>>> pystone.pystones()
(1.2927221197107452, 38678.072601703308)






More information about the Python-list mailing list