[Uim-bugs] [Bug 3620] Applying changes of uim-pref is too slow
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 8 23:05:59 EEST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=3620
------- Additional Comments From tkng at xem.jp 2005-08-09 06:05 -------
Without special setting, pressing apply button consumes about 5 seconds on my
machine. Surely it's slow.
I guessed bottleneck was the transfer of all custom variables. Therefore, I
created new helper message which doesn't send any values. (It only notifies
to other processes as 'setting was changed'.)
Instead of transferring all custom variables, we can reread all custom variables
from ~/.uim.d/. This is not an efficient way, but easy to implement and faster
than prop_update_custom.
Now pressing apply button became faster than twice.
About 2 seconds (Pentium M 800MHz)
Less than 1 second (Pentium M 1800MHz)
Still I'm not comfortable, but I can have patience with this speed.
I committed new code in revision 1159 and 1160.
TODO: check mtime of each cofig files. If not updated, then it need not to
reread. This will make faster than now.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the uim-bugs
mailing list