You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/08/06 16:22:05 UTC

[jira] [Commented] (JCR-3870) Export SessionImpl#getItemOrNull in JackrabbitSession

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

Thomas Mueller commented on JCR-3870:
-------------------------------------

+1 Not only makes the code faster, but also reduces code size at the consumer side.

> Export SessionImpl#getItemOrNull in JackrabbitSession
> -----------------------------------------------------
>
>                 Key: JCR-3870
>                 URL: https://issues.apache.org/jira/browse/JCR-3870
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-api
>    Affects Versions: 2.10
>            Reporter: Joel Richard
>            Priority: Critical
>              Labels: performance
>         Attachments: 0001-JCR-3870-Export-SessionImpl-getItemOrNull-in-Jackrab.patch
>
>
> getItemOrNull should be exported in JackrabbitSession. This would allow to combine itemExists and getItem in Sling which would reduce the rendering time by 8%.
> See the following mail thread for more information: http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/%3CD1495A09.3B670%25anchela%40adobe.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)