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

35 lines
1.2 KiB
Plaintext

From: tismer at appliedbiometrics.com (Christian Tismer)
Date: Fri, 23 Apr 1999 19:27:03 GMT
Subject: Python too slow for real world
References: <372068E6.16A4A90@icrf.icnet.uk>
<3720A21B.9C62DDB9@icrf.icnet.uk> <Pine.A32.3.90.990423141054.23052E-100000@elvis.med.Virginia.EDU>
Message-ID: <3720C987.748312F8@appliedbiometrics.com>
X-UID: 1351
"Steven D. Majewski" wrote:
...
> My guess would be that a difference this big is due to the file
> buffering mode.
This seems to be true.
After removing line I/O at all and doing some optimization,
the Python program now runs more than twice as fast than
the Perl version on my Linux box.
Although unfair, since I would have to optimize the latter
as well :-)
ciao - 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