hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9769) Improve performance of a Scanner with explicit column list when rows are small/medium size
Date Fri, 18 Oct 2013 00:10:42 GMT

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

Mime
View raw message