Zero-copy implementation of wrapped buffer interface
----------------------------------------------------
Key: AVRO-921
URL: https://issues.apache.org/jira/browse/AVRO-921
Project: Avro
Issue Type: New Feature
Components: c
Affects Versions: 1.6.0
Reporter: Douglas Creager
Assignee: Douglas Creager
The {{avro_wrapped_buffer_t}} is used by the bytes and string types to store
the content of the Avro value. The wrapped buffer interface is capable of
being zero-copy, where the underlying content buffer is shared across multiple
Avro values. But our default implementation would create a new physical copy
of the data every time the {{copy}} method is called. It would be good to have
a default zero-copy implementation.
--
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