Python IS slow ! [was] Re: Python too slow for real world
Markus Kohler
markusk at bidra241.bbn.hp.com
Fri May 7 05:51:20 EDT 1999
Guido van Rossum <guido at eric.cnri.reston.va.us> writes:
[deletia]
>
> You call avoiding malloc() and free() low-hanging fruit? You must be
> deluded <0.5 wink>. All the low-hanging fruit has already been
> picked: special allocation strategies for ints, frames, even small
> tuples! You could try linking in GNU malloc and see if it's faster
> than native malloc -- now *that* is low-hanging fruit. (GNU malloc
> has a reputation for being the fastest malloc arround; Microsoft's
> doesn't :-)
I found that Doug Lea's dmalloc is also pretty good. Run's on Windows
and most Unixes.
Some Unixes support the mallopt call to tune malloc to give you more speed
by using more space.
Markus
--
Markus Kohler mailto:markus_kohler at hp.com
More information about the Python-list
mailing list