Twig supports the following optimizations:
* ``Twig_NodeVisitor_Optimizer::OPTIMIZE_ALL``, enables all optimizations
-(this is the default value).
+ (this is the default value).
* ``Twig_NodeVisitor_Optimizer::OPTIMIZE_NONE``, disables all optimizations.
-This reduces the compilation time, but it can increase the execution time
-and the consumed memory.
+ This reduces the compilation time, but it can increase the execution time
+ and the consumed memory.
* ``Twig_NodeVisitor_Optimizer::OPTIMIZE_FOR``, optimizes the ``for`` tag by
-removing the ``loop`` variable creation whenever possible.
+ removing the ``loop`` variable creation whenever possible.
* ``Twig_NodeVisitor_Optimizer::OPTIMIZE_RAW_FILTER``, removes the ``raw``
-filter whenever possible.
+ filter whenever possible.
* ``Twig_NodeVisitor_Optimizer::OPTIMIZE_VAR_ACCESS``, simplifies the creation
-and access of variables in the compiled templates whenever possible.
+ and access of variables in the compiled templates whenever possible.
Exceptions
----------