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 -- http://mail.python.org/mailman/listinfo/python-list