avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Banachowski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-204) change the way symbolic references are tracked
Date Tue, 17 Nov 2009 01:13:39 GMT

     [ https://issues.apache.org/jira/browse/AVRO-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Scott Banachowski updated AVRO-204:

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed revision 881076.

> change the way symbolic references are tracked
> ----------------------------------------------
>                 Key: AVRO-204
>                 URL: https://issues.apache.org/jira/browse/AVRO-204
>             Project: Avro
>          Issue Type: Improvement
>          Components: c++
>            Reporter: Scott Banachowski
>         Attachments: AVRO-204.patch
> In a schema, a previously defined schema may be referenced by name.  The way the implementation
tracked this was a look-aside mapping of name to instance.  If a symbol node was encountered
during parsing it was referenced via the map.
> Instead of using a look-aside map, now a pointer to the referenced node is stored in
the symbolic schema node, so while parsing it may be de-referenced without a lookup.  The
look-aside map is only when compiling the schema, so that symbols are resolved at compile
> This improves performance, reduces storage space, and simplifies some some upcoming changes
(resolving schema differences).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message