[ https://issues.apache.org/jira/browse/HBASE-9807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl updated HBASE-9807: --------------------------------- Attachment: 9807-0.94.txt Proposed patch. Pushes the compare into the scanner/seeker. * in ScannerV2 that removes creation of the two ByteBuffer objects per reseek. No real performance gain from that. * in EncodedScannerV2 this avoid copying the entire key, just to compare it. For 8 byte row keys and 10 bytes values this lead to a 10% performance gain in scanning. > scanning with block encoding unnecessarily copies the key for each reseek > ------------------------------------------------------------------------- > > Key: HBASE-9807 > URL: https://issues.apache.org/jira/browse/HBASE-9807 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > Attachments: 9807-0.94.txt > > -- This message was sent by Atlassian JIRA (v6.1#6144)