diff options
author | 2013-11-18 23:45:45 +0900 | |
---|---|---|
committer | 2013-11-18 23:45:45 +0900 | |
commit | 36c3075c7d49f4293d4a522a7cdafc857b28c418 (patch) | |
tree | 7a22e0f18cdb3bc9d24451e2d8c61a0c4d4c2c70 | |
parent | bdf12df1fb60ee0b583fe412e059f62b9fd6846c (diff) | |
download | latinime-36c3075c7d49f4293d4a522a7cdafc857b28c418.tar.gz latinime-36c3075c7d49f4293d4a522a7cdafc857b28c418.tar.xz latinime-36c3075c7d49f4293d4a522a7cdafc857b28c418.zip |
Reduce MAX_DICT_EXTENDED_REGION_SIZE to 32K.
Bug: 11740462
Change-Id: I21cb956c692a1bcc5515f47b904f0c9b3dfdc3fd
Diffstat (limited to '')
-rw-r--r-- | native/jni/src/suggest/policyimpl/dictionary/structure/v3/dynamic_patricia_trie_policy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/src/suggest/policyimpl/dictionary/structure/v3/dynamic_patricia_trie_policy.cpp b/native/jni/src/suggest/policyimpl/dictionary/structure/v3/dynamic_patricia_trie_policy.cpp index 6b58f5fb7..b25589caf 100644 --- a/native/jni/src/suggest/policyimpl/dictionary/structure/v3/dynamic_patricia_trie_policy.cpp +++ b/native/jni/src/suggest/policyimpl/dictionary/structure/v3/dynamic_patricia_trie_policy.cpp @@ -42,7 +42,7 @@ const char *const DynamicPatriciaTriePolicy::MAX_UNIGRAM_COUNT_QUERY = "MAX_UNIG const char *const DynamicPatriciaTriePolicy::MAX_BIGRAM_COUNT_QUERY = "MAX_BIGRAM_COUNT"; const char *const DynamicPatriciaTriePolicy::SET_NEEDS_TO_DECAY_FOR_TESTING_QUERY = "SET_NEEDS_TO_DECAY_FOR_TESTING"; -const int DynamicPatriciaTriePolicy::MAX_DICT_EXTENDED_REGION_SIZE = 1024 * 1024; +const int DynamicPatriciaTriePolicy::MAX_DICT_EXTENDED_REGION_SIZE = 32 * 1024; const int DynamicPatriciaTriePolicy::MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS = DynamicPatriciaTrieWritingHelper::MAX_DICTIONARY_SIZE - 1024; |