You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Zoltan Csizmadia (Jira)" <ji...@apache.org> on 2022/03/27 16:46:00 UTC

[jira] [Created] (AVRO-3474) Increase read performance by moving CanRead to constructor

Zoltan Csizmadia created AVRO-3474:
--------------------------------------

             Summary: Increase read performance by moving CanRead to constructor
                 Key: AVRO-3474
                 URL: https://issues.apache.org/jira/browse/AVRO-3474
             Project: Apache Avro
          Issue Type: Improvement
          Components: csharp
            Reporter: Zoltan Csizmadia


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

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)