[ 
https://issues.apache.org/jira/browse/OAK-8249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16819079#comment-16819079
 ] 

Marcel Reutegger commented on OAK-8249:
---------------------------------------

Wouldn't it be easier if the mixins parameter was an {{Iterable}}? It would 
make it trivial to read the mixins only when needed.

> NodeImpl#isNodeType could load mixin info lazily
> ------------------------------------------------
>
>                 Key: OAK-8249
>                 URL: https://issues.apache.org/jira/browse/OAK-8249
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Minor
>
> The current isNodeType check loads both primary type and all mixins eagerly.
> I'm wondering how often is the case where someone only needs a primary type 
> check, and if loading the mixins lazily would improve the throughput.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to