stylistic question -- optional return value
Frank Buss
fb at frank-buss.de
Thu Aug 29 05:18:21 EDT 2002
Andrew Koenig <ark at research.att.com> wrote:
> On my machine, the following program takes 32.7 seconds:
Ok, this means one call takes 32.7 micro seconds (0.0000327 seconds),
compared to 11.3 micro seconds. I think you should use the solution which
is best to read for you, not the fastest solution. When your program is
ready, you can tune it, if it's to slow or use
http://psyco.sourceforge.net/
My experience with other languages: Don't do performance tuning until you
have profiled your program and found the hot spots, because often I was
suprised, where the hot spots were.
--
Frank Buß, fb at frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
More information about the Python-list
mailing list