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/18 12:21:12 UTC

[jira] [Created] (OAK-630) SegmentMK: Implement compareAgainstBaseState

Jukka Zitting created OAK-630:
---------------------------------

             Summary: SegmentMK: Implement compareAgainstBaseState
                 Key: OAK-630
                 URL: https://issues.apache.org/jira/browse/OAK-630
             Project: Jackrabbit Oak
          Issue Type: Sub-task
          Components: segmentmk
            Reporter: Jukka Zitting


Currently the {{SegmentNodeState}} class simply inherits the generic {{compareAgainstBaseState()}} implementation from the {{AbstractNodeState}} base class. While functionally complete, this generic implementation is pretty slow as it can't leverage lower level information about how nodes are actually stored.

I already improved the situation somewhat by implementing a basic optimization in {{SegmentNodeState.equals()}}, but to get the full benefits of the segment model we should implement the full {{compareAgainstBaseState()}} mechanism based directly on the in-segment data structures.

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