Favorite non-python language trick?

Peter Otten __peter__ at web.de
Sat Jun 25 21:30:26 CEST 2005


Mandus wrote:

> By using the builtin reduce, I
> move the for-loop into the c-code which performs better.

No. There is no hope of ever writing fast code when you do not actually
measure its performance.

Peter




More information about the Python-list mailing list