stylistic question -- optional return value

Frank Buss fb at
Thu Aug 29 11:18:21 CEST 2002

Andrew Koenig <ark at> 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

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,

More information about the Python-list mailing list