[
https://issues.apache.org/jira/browse/SLING-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler reassigned SLING-2650:
---------------------------------------
Assignee: Carsten Ziegeler
> 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
> 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