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

Increase read performance by moving CanRead to constructor

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/avro/pull/1604 implements a caching mechanism to increase. To complement that change, the CanRead call from the generic DefaultReader.Read can be moved to the constructor,  since there is no need to call CanRead ebery time Read is called. 
      PreresolvingDatumReader already works that way.
       

       

      Attachments

        Issue Links

          Activity

            People

              zoltan_csizmadia Zoltan Csizmadia
              zoltan_csizmadia@yahoo.com Zoltan Csizmadia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Time Spent - 50m Remaining Estimate - 23h 10m
                  23h 10m
                  Logged:
                  Time Spent - 50m Remaining Estimate - 23h 10m
                  50m