Avro
  1. Avro
  2. AVRO-921

Zero-copy implementation of wrapped buffer interface

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.0
    • Component/s: c
    • Labels:
      None

      Description

      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.

        Activity

          People

          • Assignee:
            Douglas Creager
            Reporter:
            Douglas Creager
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development