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 2015/10/16 09:12:05 UTC

[jira] [Created] (HBASE-14628) Save object creation for scanning with FAST_DIFF encoding

Lars Hofhansl created HBASE-14628:
-------------------------------------

             Summary: Save object creation for scanning with FAST_DIFF encoding
                 Key: HBASE-14628
                 URL: https://issues.apache.org/jira/browse/HBASE-14628
             Project: HBase
          Issue Type: Bug
            Reporter: Lars Hofhansl


I noticed that (at least in 0.98 - master is entirely different) we create ByteBuffer just to create a byte[], which is then used to create a KeyValue.

We can save the creation of the ByteBuffer and hence save allocating an extra object for each KV we find by creating the byte[] directly.

In a Phoenix count\(*) query that saved from 10% of runtime.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)