You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/10/03 03:17:26 UTC

[jira] [Commented] (HBASE-14539) Slight improvement of StoreScanner.optimize

    [ https://issues.apache.org/jira/browse/HBASE-14539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942030#comment-14942030 ] 

Andrew Purtell commented on HBASE-14539:
----------------------------------------

+1

I'm making a 0.98 release so will commit this patch for 0.98 just to that branch on the presumption the change will be committed to all branches as appropriate shortly. 

> Slight improvement of StoreScanner.optimize
> -------------------------------------------
>
>                 Key: HBASE-14539
>                 URL: https://issues.apache.org/jira/browse/HBASE-14539
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Minor
>             Fix For: 2.0.0, 1.3.0, 0.98.15, 1.2.1, 1.0.3, 1.1.3
>
>         Attachments: 14539-0.98.txt
>
>
> While looking at the code I noticed that StoreScanner.optimize does not some unnecessary work. This is a very tight loop and even just looking up a reference can throw off the CPUs cache lines. This does safe a few percent of performance (not a lot, though).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)