hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: Possibility of "KeyValue.compareRows"
Date Tue, 11 Dec 2012 18:52:17 GMT
Hi Julian,

These simple methods will certainly get inlined by the JIT at the call
sight. If you have any numbers which show improved performance, then
it makes sense to manually inline it, but I would be really suprised
if you do.


On Sun, Dec 9, 2012 at 11:19 PM, Julian  Zhou <julian.zhou@me.com> wrote:
> Also for some other match.. methods in KeyValue. Could we make it flattened
> for those method call?
> Best Regards, Julian
> On Dec 09, 2012, at 10:37 PM, Julian Zhou <julian.zhou@me.com> wrote:
> Maybe a little picky, from performance point of view, is it necessary of
> "KeyValue.compareRows", since it directly call "Bytes.compareTo.." without
> other logic. Since method invoking cost some byte codes, considering the
> KeyValue.compareRows is called very frequently for StoreScanner, etc. Is it
> necessary to replace it with raw  "Bytes.compareTo.."?
> Best Regards, Julian

Todd Lipcon
Software Engineer, Cloudera

View raw message