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 10:25:12 UTC

[jira] [Created] (OAK-637) Optimize SelectorImpl.evaluateTypeMatch()

Jukka Zitting created OAK-637:
---------------------------------

             Summary: Optimize SelectorImpl.evaluateTypeMatch()
                 Key: OAK-637
                 URL: https://issues.apache.org/jira/browse/OAK-637
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting


Node type evaluation in {{SelectorImpl}} is quite expensive especially for things like UUID lookups that produce just a single result and use {{nt:base}} as the node type. In such cases the current implementation ends up reading and caching the entire set of node types just to determine that actually any node matches nt:base.

--
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