python3.0 - any hope it will get faster?

Discussion in 'Python' started by Helmut Jarausch, Dec 9, 2008.

  1. 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
     
    Helmut Jarausch, Dec 9, 2008
    #1
    1. Advertising

  2. Helmut Jarausch

    Kay Schluehr Guest

    On 9 Dez., 11:51, Helmut Jarausch <-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)
     
    Kay Schluehr, Dec 9, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. me2u
    Replies:
    2
    Views:
    284
    Saravana [MVP]
    Oct 31, 2003
  2. Chele Sedai

    Very basic beginner question (I hope)

    Chele Sedai, Mar 14, 2005, in forum: ASP .Net
    Replies:
    8
    Views:
    372
    Chele Sedai
    Mar 14, 2005
  3. Replies:
    8
    Views:
    371
    Oliver Wong
    Feb 7, 2006
  4. Savas Ates
    Replies:
    3
    Views:
    107
    Michael D. Kersey
    Jun 30, 2004
  5. Andrew Berg
    Replies:
    0
    Views:
    334
    Andrew Berg
    Jun 16, 2012
Loading...

Share This Page