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 C19E817889 for ; Tue, 28 Oct 2014 20:57:34 +0000 (UTC) Received: (qmail 46112 invoked by uid 500); 28 Oct 2014 20:57:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46069 invoked by uid 500); 28 Oct 2014 20:57:34 -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 46057 invoked by uid 99); 28 Oct 2014 20:57:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2014 20:57:34 +0000 Date: Tue, 28 Oct 2014 20:57:34 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12297) Support DBB usage in Bloom and HFileIndex area 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-12297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187446#comment-14187446 ] stack commented on HBASE-12297: ------------------------------- I suppose the Interface forces us create an array here? + checksumObject.update(ByteBufferUtils.toBytes(hdr, 0, hdrSize), 0, hdrSize); Its going to be slow indexing through each byte of a DBB. That is good you do the hasArray check first. > Support DBB usage in Bloom and HFileIndex area > ---------------------------------------------- > > Key: HBASE-12297 > URL: https://issues.apache.org/jira/browse/HBASE-12297 > Project: HBase > Issue Type: Sub-task > Components: regionserver, Scanners > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Attachments: HBASE-12297.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)