Performance boosts (was: New to Python: Features)

From: Cameron Laird (claird_at_lairds.us)
Date: 10/05/04


Date: Tue, 05 Oct 2004 12:08:08 GMT

In article <0Er8d.3258$M05.2333@newsread3.news.pas.earthlink.net>,
Andrew Dalke <dalke@dalkescientific.com> wrote:
                        .
                [much else]
                        .
                        .
>Then say so. There are Python to C converters which at best
>give about a 5% speed boost, so the answer to your original
>question would be "yes" but also not be the answer to your
>real question.
                        .
                        .
                        .
I don't want newcomers to read this in isolation and
conclude that the "speed" of Python falls far short
of that of C. There are several ways to accelerate
Python-coded executables; some of them, in at least
some circumstances, give increases that far surpass
5% of the original "speed". At the same time, serious
work in this area doesn't reduce responsibly to a
single figure of merit, so we're all reluctant to
sound like the detergent commercials that promise
"13% new and improved" or whatever it is they say.



Relevant Pages

  • Re: Palindrome
    ... Andrew Dalke wrote: ... > Ulrich Schramme: ... > A slightly easier to understand and slower version is ... software developer by profession but quite new to Python. ...
    (comp.lang.python)
  • Re: For review: PEP 343: Anonymous Block Redux and Generator Enhancements
    ... Andrew Dalke wrote: ... Nothing in Python ends at the end of the current block. ... know, PEP343 has nothing to do with order of deletion, which is still ... But that's what this PEP is all ...
    (comp.lang.python)
  • Re: pickle alternative
    ... Andrew Dalke wrote: ... I'm running Python 2.4. ... benchmarks on a friends machine, also in Python 2.4, and received the ...
    (comp.lang.python)
  • Re: Unexpected Python Behavior
    ... Andrew Dalke wrote: ... >> Sorry to pitch in late, and forgive me if this has already been discussed ... probably a sign that I've grown into a long-term relationship with python: ...
    (comp.lang.python)
  • Re: Best processor (i386) for Python performance?
    ... Yes - AMD64 could be relevant if Python gets a speed boost from the extra ...
    (comp.lang.python)