Python speed vs csharp

Lulu of the Lotus-Eaters mertz at gnosis.cx
Thu Jul 31 21:42:35 EDT 2003


Richie Hindle <richie at entrian.com> wrote previously:
|Using Psyco dropped from 7.1 seconds to 5.4 - not great, but not bad for
|two lines of additional code:
|    import psyco
|    psyco.bind(erfc)

Try these two lines instead:

    import psyco
    psyco.full()

I tried what Hindle did, intially (actually 'erfcp=psyco.proxy(erfc)'),
and was disappointed by a similarly lackluster improvement (about the
same order--he probably has a faster machine).

Using the call to psyco.full() gives me a much nicer improvement from
18 seconds -> 3.25 seconds.

--
---[ to our friends at TLAs (spread the word) ]--------------------------
Echelon North Korea Nazi cracking spy smuggle Columbia fissionable Stego
White Water strategic Clinton Delta Force militia TEMPEST Libya Mossad
---[ Postmodern Enterprises <mertz at gnosis.cx> ]--------------------------






More information about the Python-list mailing list