Radu Cotescu created SLING-8218:
-----------------------------------
Summary: Optimise the list iteration step conditions generated by
the HTL compiler
Key: SLING-8218
URL: https://issues.apache.org/jira/browse/SLING-8218
Project: Sling
Issue Type: Improvement
Components: Scripting
Affects Versions: Scripting HTL Compiler 1.0.22-1.4.0
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Fix For: Scripting HTL Compiler 1.1.2-1.4.0
Starting with SLING-7682, the HTL compiler implements support for iteration
control in {{data-sly-list}} and {{data-sly-repeat}}. However, the generated
iteration control conditions always perform computations. For simple cases
(e.g. {{begin}} and {{step}} are undefined), the step control condition should
not be calculated and rather defined as a constant.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)