[dev] [cvs] commit: ingo/lib/Template Template.php
Michael M Slusarz
slusarz at horde.org
Mon Dec 18 12:41:17 PST 2006
Quoting Chuck Hagenbuch <chuck at horde.org>:
>> I still think we could optimize the reverted template code a bit by
>> removing the need for the 'if' parameter. Just adding every
>> scalar/loop statement to the _ifs array shouldn't create that much
>> more overhead, especially w/PHP's ref counting. Then we wouldn't
>> have to back out any of the admittedly small number of commits we
>> made to horde templates.
>
> Why is it more efficient to check for if tags for every template var?
> I get it with the compiled PHP code, but I'm not sure I understand
> this argument for the parsed templates.
Never mind. I am confusing the two implementations.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the dev
mailing list