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 2013/01/06 08:52:13 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=13545339#comment-13545339 ]
Lars Hofhansl commented on HBASE-7312:
--------------------------------------
Cool... If you have a trunk patch, we can run it through Hadoop QA.
> 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
> Attachments: HBase-7312-TestReport.pdf
>
> 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