You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/07/14 11:04:00 UTC

[jira] [Commented] (KYLIN-4012) optimize cache in TrieDictionary/TrieDictionaryForest

    [ https://issues.apache.org/jira/browse/KYLIN-4012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884638#comment-16884638 ] 

ASF subversion and git services commented on KYLIN-4012:
--------------------------------------------------------

Commit e5e253f9377f31104d811fe315a1e82d44bfbd62 in kylin's branch refs/heads/master from jie.zou
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=e5e253f ]

KYLIN-4012 optimize cache in TrieDictionary/TrieDictionaryForest


> optimize cache in TrieDictionary/TrieDictionaryForest
> -----------------------------------------------------
>
>                 Key: KYLIN-4012
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4012
>             Project: Kylin
>          Issue Type: Improvement
>    Affects Versions: v2.5.0
>            Reporter: jiezouSH
>            Assignee: jiezouSH
>            Priority: Major
>
> Currently, 
> CacheDictionary, parent class of TrieDictionary and TrieDictionaryForest, has 3 cache: 
> valueToIdCache, 
> idToValueCache, 
> idToValueByteCache.
> However, The function of idToValueCache and idToValueByteCache is highly duplicated.
> It is better to merge idToValueCache and idToValueByteCache, saving memory in about half the dict's physical size



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)