Re: Re[2]: Re: Block functions
| From: | Andrei Zmievski | Date: | Tue, 26 Mar 2002 15:58:03 +0000 |
| Subject: | Re: Re[2]: Re: Block functions | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3362@lists.php.net to get a copy of this message | ||
On Tue, 26 Mar 2002, Bertrand DUNOGIER wrote:
> I am aware of this. But do you really think that this can't be
> achieved using the existing functions ? Never forget that every time
> you add a feature to smarty, it gets slower...
That's true. To keep track of tag stack, you have to push/pop entry
every time a template tag is encountered. While it is not possible to
say how much this will affect the speed, it will certainly be affected.
For block functions we could pass the opening tag params to the closing
tag, for now.
-Andrei
"Music expresses that which can not be said
and on which it is impossible to be silent."
-Victor Hugo