You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2012/12/18 07:50:15 UTC

[jira] [Commented] (HBASE-7312) Flatten the invoking to the compare/match methods of KeyValue.java

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

Lars Hofhansl commented on HBASE-7312:
--------------------------------------

Let's assign to a release after we have some performance numbers.
Personally I doubt you'll see any measurable difference.
                
> Flatten the invoking to the compare/match methods of KeyValue.java
> ------------------------------------------------------------------
>
>                 Key: HBASE-7312
>                 URL: https://issues.apache.org/jira/browse/HBASE-7312
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance
>    Affects Versions: 0.94.2, 0.94.3
>            Reporter: Julian Zhou
>            Priority: Minor
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Invoking to some methods in KeyValue may could be short cut. Like KeyComparator.compareColumns -> KeyValue.compareColumns, 
> KVComparator.compareColumns -> KeyComparator.compareColumns -> KeyValue.compareColumns,
> KeyComparator.compareRows -> Bytes.compareTo,
> KVComparator.matchingRows -> Bytes.equals,
> MetaKeyComparator.compareRowid -> Bytes.compareTo, ... etc.
> Will apply the change, the test the performance difference.

--
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