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/20 14:15:14 UTC
[jira] [Commented] (OAK-630) SegmentMK: Implement
compareAgainstBaseState
[ https://issues.apache.org/jira/browse/OAK-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582164#comment-13582164 ]
Jukka Zitting commented on OAK-630:
-----------------------------------
Initial implementation in revision 1448150.
> 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
> Assignee: 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