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

Mitchell Morris mgm at unpkhswm04.bscc.bls.com
Wed Apr 28 07:24:37 EDT 1999


In article <p5g15lmb35.fsf at bidra241.bbn.hp.com>, Markus Kohler wrote:
[snip]
>Python would be appropriate for much more problems if it would only be as fast
>as other scripting languages. The bytecode interpreter IS significantly slower
>than other byte code interpreted languages.
[snip]
>You are right that one should choose the right tool for a problem, but
>I disagree that Python is optimized for the general case. Squeak a free
>Smalltalk implementation (www.squeak.org), is already much faster ( about
>3 times actually )  than python and it has even a true Garbage
>Collector.
[snip]
>From profiling python 1.5.2c I found that python's main problem is that 
>calling functions seems to be very costly.
[snip]
>Markus
>-- 
>Markus Kohler  mailto:markus_kohler at hp.com

If it's not too much trouble, could you post your benchmark code and results,
either here or on a web page?

+Mitchell


-- 
Mitchell Morris

Underlying Principle of Socio-Genetics: Superiority is recessive.




More information about the Python-list mailing list