class vars show_info_header and show_info_include
| From: | Monte Ohrt | Date: | Thu, 14 Mar 2002 16:45:05 +0000 |
| Subject: | class vars show_info_header and show_info_include | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3059@lists.php.net to get a copy of this message | ||
Question for everyone: How many of you use the class variables
show_info_header() or show_info_include()?
These functions exist in the Smarty core, and I can get an overall
performance increase of roughly 0.6% if I remove them (even more if they
are actually enabled.)
show_info_header() can be accomplished with a prefilter, and
show_info_include() is information that is already available through the
debug console (and a better place to get it IMHO)
So, I might remove them from future Smarty releases to clean up code and
get a marginal performance increase.
Monte