Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A3781088D for ; Mon, 17 Mar 2014 20:24:49 +0000 (UTC) Received: (qmail 66086 invoked by uid 500); 17 Mar 2014 20:24:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 66021 invoked by uid 500); 17 Mar 2014 20:24:45 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 66008 invoked by uid 99); 17 Mar 2014 20:24:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 20:24:44 +0000 Date: Mon, 17 Mar 2014 20:24:44 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-4012) Further optimize byte comparison methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13938327#comment-13938327 ] stack commented on HBASE-4012: ------------------------------ Sounds like this is worth a bit of retesting given [~manukranthk] and [~lhofhansl] findings. > Further optimize byte comparison methods > ---------------------------------------- > > Key: HBASE-4012 > URL: https://issues.apache.org/jira/browse/HBASE-4012 > Project: HBase > Issue Type: Improvement > Components: util > Affects Versions: 0.92.0 > Reporter: Todd Lipcon > Assignee: Ted Yu > Priority: Minor > Labels: noob > Fix For: 0.92.0 > > Attachments: 4012-v2.txt, 4012.txt > > > Guava uses some clever tricks with sun.misc.Unsafe to compare byte arrays about 100% faster than the naive byte-by-byte implementation: http://guava-libraries.googlecode.com/svn/trunk/guava/src/com/google/common/primitives/UnsignedBytes.java > We should borrow this [Apache 2 licensed] code. -- This message was sent by Atlassian JIRA (v6.2#6252)