[ZPT] changing the order of operations

Charlie Clark charlie at begeistert.org
Thu Jul 24 09:11:04 EDT 2003


On 2003-07-23 at 22:35:12 [+0200], Jamie Heilman wrote:
> I've mentioned it before and nobody commented on the idea, but I can't 
> think of a single good reason 'attributes' is executed before 'omit-tag.' 
> Switching them could yeild speed increases in the case where 'omit-tag' 
> is true and 'attributes' is expensive.  Am I wrong? Why is this not a 
> good idea?  When is it useful to generate attributes for a tag and then 
> throw away the work?

Sounds more like a programming error to me. Why have tal:attributes and 
tal:omit-tag in the same tag at all?

Charlie



More information about the ZPT mailing list