Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-870

Use singleton class instances for primitive Schemas

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.1
    • None
    • java
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kimballa Aaron Kimball
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: