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

Use singleton class instances for primitive Schemas

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Component/s: java
    • Labels:
      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

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

              Dates

              • Created:
                Updated: