Need advice on how to improve this function

Fredrik Lundh fredrik at pythonware.com
Mon Aug 21 11:18:30 EDT 2006


Matthew Wilson wrote:

> I'd like to know ways to make it better (more efficient, able to deal
> with enormous-size arguments, etc).  How would I write this as a
> generator?

what makes you think that a generator would be the right tool for this 
task?  what's the use case?

(btw, generating "enormous-size" html pages strikes me as a rather 
pointless exercise...)

</F>




More information about the Python-list mailing list