Kent Johnson wrote:You are still including the compile overhead in fun2. If you want to see how fast the compiled code is you should take the definition of myfun out of fun2:
I assumed that most of the time will be spent on N times execution of myfunc.
Doh! Right.
Kent -- http://mail.python.org/mailman/listinfo/python-list