[TASK] Improve variable access in compiled templates 95/39195/4
authorChristian Müller <christian@kitsunet.de>
Sat, 2 May 2015 13:14:55 +0000 (15:14 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 2 May 2015 14:00:49 +0000 (16:00 +0200)
commit4def9c8c1c979eafeea0cb7dc816e4a4386d8e0c
treed0555beb0817026eed5c98fd1f34bf9463346e41
parent20138f8b308409ad006344483b1c36ecbead410f
[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>
typo3/sysext/fluid/Classes/Core/Compiler/TemplateCompiler.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ObjectAccessorNode.php
typo3/sysext/fluid/Classes/Core/ViewHelper/TemplateVariableContainer.php