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

Save one call to KeyValueHeap.peek per row

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0, 1.3.0, 0.98.15, 1.0.3, 1.1.3, 2.0.0
    • None
    • None

    Description

      Another one of my micro optimizations.
      In StoreScanner.next(...) we can actually save a call to KeyValueHeap.peek, which in my runs of scan heavy loads shows up at top.

      Based on the run and data this can safe between 3 and 10% of runtime.

      Attachments

        1. 14315-master.txt
          2 kB
          Lars Hofhansl
        2. 14315-0.98.txt
          2 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: