changing local namespace of a function

Kent Johnson kent3737 at yahoo.com
Sun Feb 6 07:34:07 EST 2005


Bo Peng wrote:
> 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



More information about the Python-list mailing list