jturkel opened a new pull request #1038:
URL: https://github.com/apache/avro/pull/1038


   Ruby Avro decoding spends a fair amount of time validating that the
   reader and writer schemas are compatible. These checks are
   unnecessary for the fairly common case of the reader and writer schemas
   being the same Avro::Schema instance. This improves the throughput
   of our Avro decoding benchmarks by 1.3X.
   
   While I was in here I removed repeated allocations of constant arrays in the 
`Avro:: SchemaCompatibility` module.
   
   /cc @tjwp 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to