Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   python3.0 - any hope it will get faster? (http://www.velocityreviews.com/forums/t647892-python3-0-any-hope-it-will-get-faster.html)

Helmut Jarausch 12-09-2008 10:51 AM

python3.0 - any hope it will get faster?
 
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.

Is there any hope Python-3.0 will get faster or
is the main potential for optimizations exhausted, already?

That's not to start a flame war!
I know computers get faster, we human beings don't (me, at least)

--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

Kay Schluehr 12-09-2008 11:05 AM

Re: python3.0 - any hope it will get faster?
 
On 9 Dez., 11:51, Helmut Jarausch <jarau...@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)





All times are GMT. The time now is 04:56 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.