Nicolas Peltier created SLING-7718:
--------------------------------------
Summary: Script engine should not be created for each contained or
referenced path
Key: SLING-7718
URL: https://issues.apache.org/jira/browse/SLING-7718
Project: Sling
Issue Type: Improvement
Components: Extensions
Affects Versions: pipes 2.0.2
Reporter: Nicolas Peltier
A container or a reference pipe will systematically set bindings to sub pipes.
For that reason, it's useless to create script engine instance (and pipebinding
object in general).
Moreover it drills down performance a lot when reference pipe or container pipe
are used late in the pipe (i.e. are called a lot).
This ticket is about changing the API to include bindings in the constructor of
a pipe, if null, then it can be created
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)