Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2274

Avoid buffer copying in Codec

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • db
    • None

    Description

      Codec declares byte[] as a parameter in fromPersistedFormat(..) and a return type in toPersistedFormat(..). It leads to buffer copying when using it with ByteString.

      Attachments

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: