- optimization of compiling speed when same modifier was used several times

This commit is contained in:
uwe.tews@googlemail.com
2012-03-03 14:10:39 +00:00
parent f6769036f1
commit 065db28777
3 changed files with 94 additions and 41 deletions
@@ -112,6 +112,11 @@ abstract class Smarty_Internal_TemplateCompilerBase {
* @var array
*/
public $modifier_plugins = array();
/**
* type of already compiled modifier
* @var array
*/
public $known_modifier_type = array();
/**
* Initialize compiler