You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "binlijin (JIRA)" <ji...@apache.org> on 2016/09/20 09:30:21 UTC

[jira] [Commented] (HBASE-16659) Minor improvement in ReversedRegionScannerImpl

    [ https://issues.apache.org/jira/browse/HBASE-16659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15506161#comment-15506161 ] 

binlijin commented on HBASE-16659:
----------------------------------

I find some other places that we can use CellUtil.createFirstOnRow instead of KeyValueUtil.createFirstOnRow, which is more effective.

> Minor improvement in ReversedRegionScannerImpl
> ----------------------------------------------
>
>                 Key: HBASE-16659
>                 URL: https://issues.apache.org/jira/browse/HBASE-16659
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Minor
>         Attachments: HBASE-16659-master.patch
>
>
> Current in ReversedRegionScannerImpl#nextRow, to get the previous row to seek, it use KeyValueUtil.createFirstOnRow which will have two copy, the first copy is copy to a tmp byte[], the second copy is in KeyValue. We can use CellUtil.createFirstOnRow which will have no copy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)