You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Julian Zhou (JIRA)" <ji...@apache.org> on 2012/12/10 11:33:21 UTC
[jira] [Created] (HBASE-7312) Flatten the invoking to the
compare/match methods of KeyValue.java
Julian Zhou created HBASE-7312:
----------------------------------
Summary: 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.3, 0.94.2
Reporter: Julian Zhou
Priority: Minor
Fix For: 0.94.3, 0.94.2
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