avro-dev mailing list archives

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

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

Kevin Oliver commented on AVRO-278:

Would records written using the previous HashMap version be readable by the array version?
I believe the answer is yes, I'd just like to confirm. 

> 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