cvs update - faster compiled templates

From: Date: Mon, 19 May 2003 22:47:13 +0000
Subject: cvs update - faster compiled templates
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1462@lists.php.net to get a copy of this message
Small change, slight performance speed-up. The plugin filepaths are hardcoded at compiletime instead of assembled at runtime, speeding up execution. This also means that the core abstraction should have no affect on runtime execution of compiled templates. My tests show ~ 0.015 sec. speedup for hello world tests. caveat: if you move a plugin file after compilation, you must recompile. There is more yet that can be sped up this way such as config file values. That will be looked at soon. Monte

« previous php.smarty.dev (#1462) next »