hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7312) Flatten the invoking to the compare/match methods of KeyValue.java
Date Tue, 18 Dec 2012 06:50:15 GMT

    [ 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

Mime
View raw message