[
https://issues.apache.org/jira/browse/AVRO-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-907:
------------------------------
Attachment: AVRO-907.patch
Here's a patch that implements this same optimization for protobuf. Instead of
accessing the cache that maps Avro field positions to protobuf field ids once
per field the cache is only accessed once per record when reading or writing.
> optimize access to protobuf messages
> ------------------------------------
>
> Key: AVRO-907
> URL: https://issues.apache.org/jira/browse/AVRO-907
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Fix For: 1.6.0
>
> Attachments: AVRO-907.patch
>
>
> AVRO-804 included an optimization to Thrift struct field access that's also
> applicable to protobuf.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira