Beginning programming with Python
Pieter Nagel
pnagel at tbs.co.za
Thu Nov 18 05:24:42 EST 1999
On Tue, 16 Nov 1999, Janos Blazi wrote:
> From: Janos Blazi <jblazi at netsurf.de>
> > the less time it costs to program it, the more time it costs to run it,
> > the more time it costs to program it, the less time it costs to run it.
>
> Is this some law of nature I missed at university?
> But obviously, as far as raw speed is concerned Python cannot compete with
> C. Nobody can attempt to deny that. So if speed is an issue for you, use C.
But then of course 90% of the time is spent in only 10% of the code.
So I'd write 90% of the code in Python and just the speed-critical
bit in C.
--
,_
/_) /| /
/ i e t e r / |/ a g e l
Tangible Business Software
http://www.tbs.co.za
+27 12 46 8563
More information about the Python-list
mailing list