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 "Joerg Hoh (Jira)" <ji...@apache.org> on 2024/02/07 12:58:00 UTC

[jira] [Created] (OAK-10639) NodeImpl: calculate mixinTypes lazy

Joerg Hoh created OAK-10639:
-------------------------------

             Summary: NodeImpl: calculate mixinTypes lazy
                 Key: OAK-10639
                 URL: https://issues.apache.org/jira/browse/OAK-10639
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: jcr
            Reporter: Joerg Hoh


NodeImpl.isNodeType() calls ReadOnlyTypeManager.isNodeType(), but calculates all mixinTypes directly, even if the mixinTypes are not required in ReadOnlyTypeManager.isNodeType().

The calculation of the mixinTypes could be convered into a Supplier<> type; and the resolution could be done only when the mixinTypes are actually required. This would save a few CPU cycles for the common case, where the mixinTypes are not required.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)