[
https://issues.apache.org/jira/browse/HBASE-17877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956166#comment-15956166
]
Duo Zhang commented on HBASE-17877:
-----------------------------------
{noformat}
- int j = minWords << 3; // Same as minWords * SIZEOF_LONG
- for (int i = 0; i < j; i += SIZEOF_LONG) {
+ for (int i = 0; i < minWords * SIZEOF_LONG; i += SIZEOF_LONG) {
{noformat}
Why this change?
And mind sharing the code of your perf tests?
Thanks.
> Replace/improve HBase's byte[] comparator
> -----------------------------------------
>
> Key: HBASE-17877
> URL: https://issues.apache.org/jira/browse/HBASE-17877
> Project: HBase
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Assignee: Vikas Vishwakarma
> Attachments: 17877-1.2.patch
>
>
> [~vik.karma] did some extensive tests and found that Hadoop's version is
> faster - dramatically faster in some cases.
> Patch forthcoming.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)