RE: Smarty with vBulletin?
| From: | Monte Ohrt | Date: | Thu, 21 Mar 2002 19:24:45 +0000 |
| Subject: | RE: Smarty with vBulletin? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3236@lists.php.net to get a copy of this message | ||
Matt Rogish wrote:
>
>
> How does Smarty parse templates? I heard from a birdie that Smarty does
> costly regexps (I'm looking through the source now to see).
>
It doesn't, it compiles the templates into PHP code. During compilation
it uses some regular expressions, but it's still fairly quick at that,
and it only happens once.