[
https://issues.apache.org/jira/browse/HBASE-21314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16675176#comment-16675176
]
Duo Zhang commented on HBASE-21314:
-----------------------------------
Add comments in isDeleted and isModified.
And for the Math.abs, replied on RB:
{quote}
Because the BitSetNode can grow to both direction. If to left you should check
with the end, while to right you should check with the start. So not a simple
abs.
{quote}
Thanks.
> The implementation of BitSetNode is not efficient
> -------------------------------------------------
>
> Key: HBASE-21314
> URL: https://issues.apache.org/jira/browse/HBASE-21314
> Project: HBase
> Issue Type: Sub-task
> Components: proc-v2
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0, 2.2.0, 2.0.3, 2.1.2
>
> Attachments: HBASE-21314-v1.patch, HBASE-21314.patch,
> HBASE-21314.patch
>
>
> As the MAX_NODE_SIZE is the same with BITS_PER_WORD, which means that we
> could only have one word(long) for each BitSetNode.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)