[ 
https://issues.apache.org/jira/browse/SLING-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler updated SLING-2650:
------------------------------------

    Fix Version/s: JCR Resource 2.1.2
    
> Speed up JcrPropertyMapCacheEntry
> ---------------------------------
>
>                 Key: SLING-2650
>                 URL: https://issues.apache.org/jira/browse/SLING-2650
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 2.1.0
>            Reporter: Marcel Reutegger
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: JCR Resource 2.1.2
>
>         Attachments: SLING-2650.patch
>
>
> JcrPropertyMapCacheEntry (as well as JcrResourceUtil) retrieve the 
> PropertyDefinition to find out whether a Property is multi-valued or not. At 
> least in Apache Jackrabbit and Apache Oak this is more expensive than simply 
> calling Property.isMultiple() because it has to evaluate node type 
> information.
> Both JcrPropertyMapCacheEntry and JcrResourceUtil should rather use the 
> method on Property.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to