Issue 33: 内存占用好像用点大 & 输入响应问题
http://code.google.com/p/ibus/issues/detail?id=33

Comment #7 by hashao2:
我觉得使用sqlite是一大失误。从firefox和scim-python的经验来看,sqlite只适用中 
小型数据
库,对于大量的数据,过分的硬盘操作,大大减低了程序响应速度。

sqlite 做为输入法库,不但响应时间长,而且因为顾虑到速度,外来很多更智能的功 
能,也难以
加入,最后还得要写一个专用的数据结构。

可以使用tetary tree或者直接使用 libjudy 这类数据结构库,封装一些通用的输入法 
常用的简
单接口。

20-50MB RAM对于大词量库的输入法来说,不算多,而对于RAM来说,速度也不会太慢。




-- 
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.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

回复