[
https://issues.apache.org/jira/browse/AVRO-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862787#comment-17862787
]
Michael Spector commented on AVRO-4010:
---------------------------------------
Here's the fix: https://github.com/apache/avro/pull/2995
For my use case, this improves the performance by 25%.
> Avoid resolving schema on every call to read()
> ----------------------------------------------
>
> Key: AVRO-4010
> URL: https://issues.apache.org/jira/browse/AVRO-4010
> Project: Apache Avro
> Issue Type: Improvement
> Components: rust
> Affects Versions: 1.11.3
> Reporter: Michael Spector
> Priority: Major
>
> `ResolvedSchema::try_from()` is called from within `Reader::read()`, which
> can be easily avoided if resolved schema is cached along with writer schema
> once initialized.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)