Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 12802 invoked from network); 19 Nov 2009 04:23:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 04:23:08 -0000 Received: (qmail 7157 invoked by uid 500); 19 Nov 2009 04:23:08 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 7061 invoked by uid 500); 19 Nov 2009 04:23:07 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 7045 invoked by uid 99); 19 Nov 2009 04:23:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 04:23:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 04:23:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5DE1B234C045 for ; Wed, 18 Nov 2009 20:22:43 -0800 (PST) Message-ID: <422081272.1258604563370.JavaMail.jira@brutus> Date: Thu, 19 Nov 2009 04:22:43 +0000 (UTC) From: "Hong Tang (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6381) WritableUtils::*VLong utilities should be available for byte arrays In-Reply-To: <145114006.1258506339719.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-6381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779818#action_12779818 ] Hong Tang commented on HADOOP-6381: ----------------------------------- bq. That's what WritableUtils::decodeVIntSize does. That means you would have to decode the first byte of the vint twice. bq. where the object instantiation cost was just too much, performance-wise. No? How effective would JIT help eliminate the overhead of objects created and forgotten in a tight loop? This should be the kind of things that compilers are good at. > WritableUtils::*VLong utilities should be available for byte arrays > ------------------------------------------------------------------- > > Key: HADOOP-6381 > URL: https://issues.apache.org/jira/browse/HADOOP-6381 > Project: Hadoop Common > Issue Type: Improvement > Components: util > Reporter: Chris Douglas > Priority: Minor > Attachments: C6381-0.patch, C6381-1.patch, C6381-2.patch > > > Particularly when working with raw bytes in Writables, it is often useful to have versions of the vint utility functions for byte arrays. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.