Matteo Bertozzi created HBASE-8418:
--------------------------------------

             Summary: Caching KeyValue.getRowLength() to improve scan 
performance
                 Key: HBASE-8418
                 URL: https://issues.apache.org/jira/browse/HBASE-8418
             Project: HBase
          Issue Type: Improvement
          Components: regionserver
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi
            Priority: Minor


Looking at the profile seems that Bytes.toShort() is called a lot.
the calls are in ScanQueryMatcher.match() and KeyValue.KeyComparator.compare()

getKeyLength() is already cached, but getRowLength() is not.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to