Python IS slow ! [was] Re: Python too slow for real world

Christian Tismer tismer at appliedbiometrics.com
Thu May 6 08:34:36 EDT 1999


Markus Kohler wrote:
<snip/>
> Running pystone on HP-UX the result for 1.5.2c is 3.37% for malloc and
> 3.95%
> for free :-(

Are you absolutely sure? Did you run my tests, and did you
really clean up and filter out every other dll timings?
Especially getc can trick you if you were in an interactive
session. Also, if you wiped too many dlls out, you might
miss the real workhorses. malloc and free might be thin 
wrappers around a system routine.
You need to go through all the functions and libraries
to wipe exactly the right things.

Sorry if I sound so doubtful, but it took me a couple
of hours until I was sure to presend my results. Can
you please check again?

Nevertheless, if it pais off under Windows, then I will
write a really good malloc just for Winnows, as an extension
module.

cheers - chris

-- 
Christian Tismer             :^)   <mailto:tismer at appliedbiometrics.com>
Applied Biometrics GmbH      :     Have a break! Take a ride on Python's
Kaiserin-Augusta-Allee 101   :    *Starship* http://starship.python.net
10553 Berlin                 :     PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     we're tired of banana software - shipped green, ripens at home




More information about the Python-list mailing list