You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/07/09 15:38:35 UTC

[jira] [Created] (OAK-172) Optimize KernelNodeState equality checks

Jukka Zitting created OAK-172:
---------------------------------

             Summary: Optimize KernelNodeState equality checks
                 Key: OAK-172
                 URL: https://issues.apache.org/jira/browse/OAK-172
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting


Much of our higher level functionality depends on efficient diffing of content trees. Our current algorithm for diffing KernelNodeStates depends heavily on the performance of the equals() method. Currently equals() does a full tree comparison, but we can shortcut that in most cases by using the ":hash" pseudo-property from the underlying MicroKernel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OAK-172) Optimize KernelNodeState equality checks

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved OAK-172.
-------------------------------

    Resolution: Fixed

Implemented in revision 1359216.
                
> Optimize KernelNodeState equality checks
> ----------------------------------------
>
>                 Key: OAK-172
>                 URL: https://issues.apache.org/jira/browse/OAK-172
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>
> Much of our higher level functionality depends on efficient diffing of content trees. Our current algorithm for diffing KernelNodeStates depends heavily on the performance of the equals() method. Currently equals() does a full tree comparison, but we can shortcut that in most cases by using the ":hash" pseudo-property from the underlying MicroKernel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira