Kriskras99 opened a new pull request, #445: URL: https://github.com/apache/avro-rs/pull/445
The first commit changes `ResolvedSchema` and `ResolvedOwnedSchema` to use the same logic for resolving. `ResolvedOwnedSchema` now also uses a self-referential struct when resolving the schema, so it does not need to clone all named schemas contained in it. The second commit contains the rework of `SpecificSingleObjectWriter` It now resolves the schema and caches it. It also no longer uses `GenericSingleObjectWriter` for the header and does it directly. This removes the need for a buffer. This is a breaking change: - `SpecificSingleObjectWriter::with_capcity` has been removed. - `write_avro_datum_ref` now also takes a `names: &NamesRef` argument This also fixes a bug in `reader::Block::read_writer_schema` where it unnecessarily parses the schemata twice. Closes #439 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
