Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 10353 invoked from network); 8 Jan 2010 20:38:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 20:38:18 -0000 Received: (qmail 39090 invoked by uid 500); 8 Jan 2010 20:38:18 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 39002 invoked by uid 500); 8 Jan 2010 20:38:18 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 38992 invoked by uid 99); 8 Jan 2010 20:38:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 20:38:18 +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; Fri, 08 Jan 2010 20:38:16 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 63950234C1EE for ; Fri, 8 Jan 2010 12:37:55 -0800 (PST) Message-ID: <774163554.129011262983075406.JavaMail.jira@brutus.apache.org> Date: Fri, 8 Jan 2010 20:37:55 +0000 (UTC) From: "Doug Cutting (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Resolved: (AVRO-278) use array instead of map to implement generic records In-Reply-To: <408398459.1262300789552.JavaMail.jira@brutus.apache.org> 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/AVRO-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting resolved AVRO-278. ------------------------------- Resolution: Fixed Release Note: GenericRecord no longer implements Map. Hadoop Flags: [Incompatible change, Reviewed] I just committed this. > use array instead of map to implement generic records > ----------------------------------------------------- > > Key: AVRO-278 > URL: https://issues.apache.org/jira/browse/AVRO-278 > Project: Avro > Issue Type: Improvement > Components: java > Reporter: Doug Cutting > Fix For: 1.3.0 > > Attachments: AVRO-278.patch, AVRO-278.patch > > > It would be considerably faster to implement GenericData.Record as an array rather than as a HashMap. We expect generic data to be a major incentive to using Avro, and users of Java's generic API should not pay a performance penalty. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.