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

Avoid allocating unnecessary tag iterators

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 0.98.6
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We can avoid an unnecessary object allocation, sometimes in hot code paths, by not creating a tag iterator if the cell's tag area is of length zero, signifying no tags present.

        Attachments

        1. HBASE-11774.patch
          11 kB
          Andrew Kyle Purtell
        2. HBASE-11774_v2-0.98.patch
          14 kB
          Andrew Kyle Purtell
        3. HBASE-11774_v2.patch
          13 kB
          Andrew Kyle Purtell

          Activity

            People

            • Assignee:
              apurtell Andrew Kyle Purtell
              Reporter:
              apurtell Andrew Kyle Purtell
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: