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

Replace ByteString.copyFrom with new ByteString()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.95.2
    • None
    • Performance
    • 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

              Unassigned Unassigned
              jxiang Jimmy Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: