You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2022/10/04 08:21:00 UTC

[jira] [Comment Edited] (SLING-11601) [Scripting] Use the LazyBindings instead of SimpleBindings

    [ https://issues.apache.org/jira/browse/SLING-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610414#comment-17610414 ] 

Joerg Hoh edited comment on SLING-11601 at 10/4/22 8:20 AM:
------------------------------------------------------------

PR for Sling Models Impl: https://github.com/apache/sling-org-apache-sling-models-impl/pull/39 (merged)


was (Author: joerghoh):
PR for Sling Models Impl: https://github.com/apache/sling-org-apache-sling-models-impl/pull/39

> [Scripting] Use the LazyBindings instead of SimpleBindings
> ----------------------------------------------------------
>
>                 Key: SLING-11601
>                 URL: https://issues.apache.org/jira/browse/SLING-11601
>             Project: Sling
>          Issue Type: Improvement
>          Components: Sling Models
>    Affects Versions: Sling Models Impl 1.4.0
>            Reporter: Joerg Hoh
>            Assignee: Joerg Hoh
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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.
> Requires a bump of the dependency to Sling API though (at least 2.21.0 is required)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)