[TASK] Improve variable access in compiled templates
This is a slight improvement for variable access in Fluid that reduces recursions of ``getPropertyPath`` by one level by pre evaluating the property path and fetching the first level directly from the variable container in compiled templates. Releases: master Resolves: #66745 Change-Id: I7e9abe9e8c24af7b3bf11779ad1c4257bbb531c0 Reviewed-on: http://review.typo3.org/39195 Reviewed-by:Andreas Fernandez <typo3@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/fluid/Classes/Core/Compiler/TemplateCompiler.php 23 additions, 5 deletions...3/sysext/fluid/Classes/Core/Compiler/TemplateCompiler.php
- typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ObjectAccessorNode.php 3 additions, 1 deletion...uid/Classes/Core/Parser/SyntaxTree/ObjectAccessorNode.php
- typo3/sysext/fluid/Classes/Core/ViewHelper/TemplateVariableContainer.php 14 additions, 0 deletions...uid/Classes/Core/ViewHelper/TemplateVariableContainer.php
Please register or sign in to comment