Re: Recycle Smarty objects = fast?
| From: | Bertrand DUNOGIER | Date: | Thu, 15 Nov 2001 15:39:57 +0000 |
| Subject: | Re: Recycle Smarty objects = fast? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1915@lists.php.net to get a copy of this message | ||
It is what I'm doing since the beggining...
AJ> I was thinking of creating one or two global Smarty objects, and use the
AJ> same object over and over, instead of creating a new temporary Smarty
AJ> object in every function that needs to generate output.
AJ> It is not a 'clean' solution, but I imagine it will be a lot faster. Any
AJ> thoughts?