hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17877) Replace/improve HBase's byte[] comparator
Date Thu, 06 Apr 2017 04:34:42 GMT

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

stack commented on HBASE-17877:

First, this is great. Thanks for the work [~vik.karma].

Most compares in hbase are in the few byte range so this should help.

 jmh is best for this sort of compare going forwrad.

On patch, given attribution ("Stolen from Hadoop..class.. i'd say...").  Speed up is just
in how we handle whats left over after we do the long compares?

> 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, 17877-v2-1.3.patch, ByteComparatorJiraHBASE-17877.pdf
> [~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

View raw message