Comment #15 on issue 33 by BlueICESir: 内存占用好像用点大 & 输入响应问题
http://code.google.com/p/ibus/issues/detail?id=33

诚如上面几位仁兄说的ibus如果开启了模糊拼音输入很慢!简直可以让你抓狂!粗略阅读 
了一下拼
音输入的的思路,拼音词库比较大,因为使用的是sqlite3的数据库,所以在打开 
pinyin.db数据文件
后,理论上是加载词库数据文件到内存中进行匹配!所以占用内存会大一些!思路还是匹 
配和比较权
值来显示获选字或词组!为了提高词库匹配速度,作者拼音首先比较前3个字的拼音代 
码,而后多了
yx字段用于匹配大于4个汉字长度的拼音编码!
个人估计模糊拼音由于需要多次匹配拼音代码中存在的韵母或声母故而导致了大约几倍 
的匹配时
间!加上python本身就是一个脚本语言,要求就不能达到要求的速度!

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

回复