Python code written in 1998, how to improve/change it?
Wolfgang Keller
wolfgang.keller.nospam at gmx.de
Wed Jan 25 06:42:57 EST 2006
> > So basically if I want to write a long-running program in
> > Python, it would make sense to code all functions that are
> > likely to be called more than once as generators...
This was meant as a question.
> If they need to resume their calculations from where they left off after the
> last yield.
Well, no, independently from that.
Just to avoid to inital overhead of the function call.
?
Sincerely,
Wolfgang Keller
More information about the Python-list
mailing list