Use singleton class instances for primitive Schemas
---------------------------------------------------

                 Key: AVRO-870
                 URL: https://issues.apache.org/jira/browse/AVRO-870
             Project: Avro
          Issue Type: Improvement
          Components: java
    Affects Versions: 1.5.1
            Reporter: Aaron Kimball


Would make a solid performance improvement for operations like Schema.equals() 
if the {{Schema.create(Schema.Type.INT)}} operation (and STRING, LONG, and 
other primitive types) returned referentially--equal objects every time.

This would require disallowing calls to {{addProp()}}, or else something clever.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to