avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-278) use array instead of map to implement generic records
Date Tue, 05 Jan 2010 07:28:56 GMT

    [ https://issues.apache.org/jira/browse/AVRO-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796572#action_12796572

Philip Zeyliger commented on AVRO-278:


Your belief is correct.  This patch doesn't affect the serialized format at all.  It's merely
changing the how those objects are represented in memory.  It's also changing the API a bit,
though I doubt you'll run into that.

-- Philip

> 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
> 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.

View raw message