HBase
  1. HBase
  2. HBASE-5958

Replace ByteString.copyFrom with new ByteString()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

        Issue Links

          Activity

          Jimmy Xiang created issue -
          Jimmy Xiang made changes -
          Field Original Value New Value
          Link This issue relates to HBASE-5889 [ HBASE-5889 ]
          Jimmy Xiang made changes -
          Link This issue relates to HBASE-5620 [ HBASE-5620 ]
          Jimmy Xiang made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development