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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2019/03/19 13:42:00 UTC

[jira] [Created] (OAK-8141) Replace String path with custom data type

Marcel Reutegger created OAK-8141:
-------------------------------------

             Summary: Replace String path with custom data type
                 Key: OAK-8141
                 URL: https://issues.apache.org/jira/browse/OAK-8141
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: documentmk
            Reporter: Marcel Reutegger
             Fix For: 1.12


DocumentNodeState objects and other related data is currently identified with a String path in the various caches in the DocumentNodeStore. Read benchmarks like GetDeepNodeTest that only read data from memory are significantly slower on a DocumentNodeStore compared to a SegmentNodeStore. In these kind of tests the DocumentNodeStore is usually busy with String operations like constructing the path for a child node or calculating the hash code for a lookup in a cache.

This issue is about a potential improvement that replaces the use of a plain String for the path of a DocumentNodeState and use a custom Path type instead.



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