You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "nichunen (Jira)" <ji...@apache.org> on 2020/01/21 07:44:02 UTC

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

     [ https://issues.apache.org/jira/browse/KYLIN-4012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nichunen closed KYLIN-4012.
---------------------------

Resolved in release v3.0.0-alpha2(2019-07-31)

> 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
>             Fix For: v3.0.0-alpha2
>
>
> 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
(v8.3.4#803005)