You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "ZhouQianhao (JIRA)" <ji...@apache.org> on 2015/04/20 10:35:58 UTC
[jira] [Created] (KYLIN-708) replace BitSet for AggrKey
ZhouQianhao created KYLIN-708:
---------------------------------
Summary: replace BitSet for AggrKey
Key: KYLIN-708
URL: https://issues.apache.org/jira/browse/KYLIN-708
Project: Kylin
Issue Type: Improvement
Components: Storage - HBase
Reporter: ZhouQianhao
Assignee: liyang
inside endpoint, in order to get hashCode and compareTo, we use BitSet to store all the column that need to be calculated which is quite inefficient.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Re: [jira] [Created] (KYLIN-708) replace BitSet for AggrKey
Posted by "Zhou, Qianhao" <qi...@ebay.com>.
It turns out that, BitSet.nextSetBit(int) is time-consuming, just replace
it with a int[] will improve performance significantly.
Best Regard
Zhou QianHao
On 4/20/15, 4:38 PM, "hongbin ma" <ma...@apache.org> wrote:
>It's an existing optimization by @liyang, as i remember. Please justify it
>before you change the code
>
>On Mon, Apr 20, 2015 at 4:35 PM, ZhouQianhao (JIRA) <ji...@apache.org>
>wrote:
>
>> ZhouQianhao created KYLIN-708:
>> ---------------------------------
>>
>> Summary: replace BitSet for AggrKey
>> Key: KYLIN-708
>> URL: https://issues.apache.org/jira/browse/KYLIN-708
>> Project: Kylin
>> Issue Type: Improvement
>> Components: Storage - HBase
>> Reporter: ZhouQianhao
>> Assignee: liyang
>>
>>
>> inside endpoint, in order to get hashCode and compareTo, we use BitSet
>>to
>> store all the column that need to be calculated which is quite
>>inefficient.
>>
>>
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.3.4#6332)
>>
>
>
>
>--
>Regards,
>
>*Bin Mahone | 马洪宾*
>Apache Kylin: http://kylin.io
>Github: https://github.com/binmahone
Re: [jira] [Created] (KYLIN-708) replace BitSet for AggrKey
Posted by hongbin ma <ma...@apache.org>.
It's an existing optimization by @liyang, as i remember. Please justify it
before you change the code
On Mon, Apr 20, 2015 at 4:35 PM, ZhouQianhao (JIRA) <ji...@apache.org> wrote:
> ZhouQianhao created KYLIN-708:
> ---------------------------------
>
> Summary: replace BitSet for AggrKey
> Key: KYLIN-708
> URL: https://issues.apache.org/jira/browse/KYLIN-708
> Project: Kylin
> Issue Type: Improvement
> Components: Storage - HBase
> Reporter: ZhouQianhao
> Assignee: liyang
>
>
> inside endpoint, in order to get hashCode and compareTo, we use BitSet to
> store all the column that need to be calculated which is quite inefficient.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>
--
Regards,
*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone