hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12345) Unsafe based Comparator for BB
Date Tue, 28 Oct 2014 08:58:34 GMT

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

Anoop Sam John commented on HBASE-12345:
----------------------------------------

Yep it is handled Ram
{code}
if (littleEndian) {
+        x1 = Long.reverseBytes(x1);
+        x2 = Long.reverseBytes(x2);
+      }
{code}
I have tested it with comparing 2 million Cells.


> Unsafe based Comparator for BB 
> -------------------------------
>
>                 Key: HBASE-12345
>                 URL: https://issues.apache.org/jira/browse/HBASE-12345
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>         Attachments: HBASE-12345.patch, HBASE-12345_1.patch
>
>




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

Mime
View raw message