avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AVRO-278) use array instead of map to implement generic records
Date Fri, 08 Jan 2010 20:37:55 GMT

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

View raw message