You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/02/19 13:31:13 UTC
[jira] [Resolved] (OAK-639) Optimize isNodeType checks
[ 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