huxin1997 / TypingCat

一个离线的Idea 单词命名补全插件,支持多种语言,提升编码效率神器
https://plugins.jetbrains.com/plugin/17950-typingcat
36 stars 7 forks source link

Freeze my intellij #14

Open LifeIsStrange opened 2 years ago

LifeIsStrange commented 2 years ago

Hi @huxin1997 Thank you very much for working on this amazing idea, this has the potential to be very useful :)

However at my workplace, my intellij idea is inside a Virtual machine which means it is slow and RAM limited. Without this extension my IDE is not fast but is at least usable. The extension after one or zero autocomplete lead to a permamnent system freeze, always and in a matter of seconds. I believe the RAM use is too high.

so 1) is the offline mode you mention by default? 2) could you provide a config option to disable the displaying of chinese characters? As an englishman they are for me a distraction, also rendering chinese text might potentially be resource intensive for my VM. 3) do you see ways to reduce RAM/cpu use? maybe you could provide an option to disable fuzzy search or use a faster fuzzy search implementation? such as the state of the art Lucene: https://blog.mikemccandless.com/2011/03/lucenes-fuzzyquery-is-100-times-faster.html

huxin1997 commented 2 years ago

Thank you for your important advice. I will optimize him.