wasm-demo/demo/ermis-f/python_m/cur/1191

41 lines
1.3 KiB
Plaintext

From: mgm at unpkhswm04.bscc.bls.com (Mitchell Morris)
Date: 28 Apr 1999 11:24:37 GMT
Subject: Python IS slow ! [was] Re: Python too slow for real world
References: <613145F79272D211914B0020AFF6401914DAD8@gandalf.digicool.com> <p5g15lmb35.fsf@bidra241.bbn.hp.com>
Message-ID: <slrn7idrvl.kc0.mgm@unpkhswm04.bscc.bls.com>
X-UID: 1191
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.