Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5958

Replace ByteString.copyFrom with new ByteString()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 0.95.2
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:
      None

      Description

      ByteString.copyFrom makes a copy of a byte array in case it is changed in other thread.
      In most case, we don't need to worry about that. We should avoid copying the bytes
      for performance issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jxiang Jimmy Xiang
                Reporter:
                jxiang Jimmy Xiang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: