Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Sling Models Impl 1.4.0
-
None
Description
At various modules Sling Scripting (and Sling Models) code still uses a SimpleBindings implementation of the Bindings, while it could use LazyBindings which are more efficient in case not all provided bindings are required.
While the scripting itself does not necessarily use a LazyBindings.Supplier, other BindingValueProviders can be invoked on them, which do support the LazyBindings; and in that case there can be a benefit.
Requires a bump of the dependency to Sling API though (at least 2.21.0 is required)
Attachments
Issue Links
- is related to
-
SLING-11832 Embed latest version of org.apache.sling.scripting.core to make use of LazyBindings
- Closed