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


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

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.

Reply via email to