[
https://issues.apache.org/jira/browse/OAK-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved OAK-639.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.7
Done in revision 1447697.
> Optimize isNodeType checks
> --------------------------
>
> Key: OAK-639
> URL: https://issues.apache.org/jira/browse/OAK-639
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 0.7
>
>
> Especially the security code uses frequent isNodeType() calls to check
> whether a particular node is an instance of a given node type.
> In general I'd avoid those calls entirely, and rather use a data-driven
> approach where a node is of a given type if it simply looks like it.
> However, since that's not the case now and since there are also other use
> cases for explicit node type checks, it makes sense to optimize the
> isNodeType() implementation.
--
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