[
https://issues.apache.org/jira/browse/HBASE-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798643#comment-13798643
]
Ted Yu commented on HBASE-9769:
-------------------------------
Minor comment:
{code}
+ for (int i = 0; i < length; i++) {
+ h = 31 * h + buffer[off++];
{code}
Both i and off are incremented in each iteration. Looks like 'off++' can be
replaced with 'offset+i'.
> Improve performance of a Scanner with explicit column list when rows are
> small/medium size
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-9769
> URL: https://issues.apache.org/jira/browse/HBASE-9769
> Project: HBase
> Issue Type: Improvement
> Components: Scanners
> Affects Versions: 0.98.0, 0.94.12, 0.96.0
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
> Attachments: 9769-0.94-sample1.txt, 9769-0.94-sample2.txt,
> 9769-0.94-sample.txt, 9769-94.txt, 9769-94-v2.txt, 9769-trunk-v1.txt
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)