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 F0D551849F for ; Mon, 18 May 2015 22:32:00 +0000 (UTC) Received: (qmail 12429 invoked by uid 500); 18 May 2015 22:32:00 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 12380 invoked by uid 500); 18 May 2015 22:32:00 -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 12369 invoked by uid 99); 18 May 2015 22:32:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2015 22:32:00 +0000 Date: Mon, 18 May 2015 22:32:00 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13448) New Cell implementation with cached component offsets/lengths 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-13448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14549386#comment-14549386 ] stack commented on HBASE-13448: ------------------------------- [~lhofhansl] We are going this route to save CPU -- the length parses show in macro profiling as costly -- and to simplify code: all over our codebase we are doing carry-overs, passing a parsed length found in one method as input on other methods as we walk through the elements of a Cell/KeyValue. These latter won't always make sense as Cell implementations are different and rather than do them arbitrarily around the code base, rather let the Cell do the length caching. See https://issues.apache.org/jira/browse/HBASE-13448?focusedCommentId=14500517&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14500517 > New Cell implementation with cached component offsets/lengths > ------------------------------------------------------------- > > Key: HBASE-13448 > URL: https://issues.apache.org/jira/browse/HBASE-13448 > Project: HBase > Issue Type: Sub-task > Components: Scanners > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Fix For: 2.0.0 > > Attachments: HBASE-13448.patch, HBASE-13448_V2.patch, HBASE-13448_V3.patch, gc.png, hits.png > > > This can be extension to KeyValue and can be instantiated and used in read path. -- This message was sent by Atlassian JIRA (v6.3.4#6332)