[Tutor] Some questions about my yen-USD.py
Alan Gauld
alan.gauld at freenet.co.uk
Mon Sep 18 17:38:12 CEST 2006
>>> And what's the downside of the way I've done it?
>>
>> Its slow...
>
> Actually it is not particularly slow. The actual function code is
> created once, when the module is compiled; creating a function
> object and binding it to a name is pretty fast. There is a good
> discussion here:
> http://tinyurl.com/gzfyl
>
Absolutely, I should have said its "slower", all things are relative.
For this application it probably makes no difference in real terms.
Alan G.
More information about the Tutor
mailing list