[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28043: [PATCH] Optimize skkdic conversion
From: |
Eli Zaretskii |
Subject: |
bug#28043: [PATCH] Optimize skkdic conversion |
Date: |
Fri, 11 Aug 2017 09:39:05 +0300 |
> From: npostavs@users.sourceforge.net
> Date: Thu, 10 Aug 2017 23:25:17 -0400
>
> While waiting for a bootstrap, I thought the skkdic conversion was
> looking a bit slow. The following patches reduce the time needed to
> less than a third of the original (2m30 to 45s measured using a
> non-optimized Emacs). The main speedup comes from optimizing
> lookup-nest-alist and set-nested-alist for the case where the key is a
> string. I suspect it might be possible to optimize even more by
> reorganizing things, but my ignorance of Japanese makes that difficult.
>
> Each commit message has the time I measured after applying. I checked
> that the generated ja-dic.el is identical to what was generated before.
Thanks. CC'ing Handa-san, who could perhaps suggest more
optimizations.
I guess you've verified that the results are identical after these
optimizations? If so, I see no reason not to push in a few days.