Recycle Smarty objects = fast?
| From: | Anders Janson | Date: | Thu, 15 Nov 2001 15:37:41 +0000 |
| Subject: | Recycle Smarty objects = fast? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1914@lists.php.net to get a copy of this message | ||
I was thinking of creating one or two global Smarty objects, and use the
same object over and over, instead of creating a new temporary Smarty
object in every function that needs to generate output.
It is not a 'clean' solution, but I imagine it will be a lot faster. Any
thoughts?
/Anders