added an optimization for simple variables output
authorFabien Potencier <fabien.potencier@gmail.com>
Fri, 30 Sep 2011 12:54:26 +0000 (14:54 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Fri, 30 Sep 2011 15:11:02 +0000 (17:11 +0200)
commit3e66e3e9c087d2c22cc7fc32bb117b3df1edc87e
treee870148d8af691998bb417411bc643abe606ca40
parente0cd76614f33e8df36946452620ff89cc198cd10
added an optimization for simple variables output
lib/Twig/Node/Expression/Name.php
lib/Twig/NodeVisitor/Optimizer.php
test/Twig/Tests/NodeVisitor/OptimizerTest.php