mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-12 09:51:05 -07:00
The primary speedup comes from the optimizing lookup-nested-alist and set-nested-alist for the case where the key is a string. This brings the time down to less than half the original. * lisp/international/mule-util.el (lookup-nested-alist) (set-nested-alist): Use `assq' instead of `assoc' when KEYSEQ is a string. * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi) (skkdic-convert-okuri-nasi): Use progress-reporter functions instead of calculating ratio of work done inline. (skkdic-reduced-candidates): Call `char-category-set' on the first character of the string directly, instead of using a regexp for the character category. (skkdic--japanese-category-set): New constant. (skkdic-collect-okuri-nasi): Just set `skkdic-okuri-nasi-entries-count' at once at the end rather than updating it throughout the loop. (skkdic-convert-postfix skkdic-convert-prefix) skkdic-get-candidate-list, skkdic-collect-okuri-nasi) (skkdic-extract-conversion-data): Use `match-string-no-properties' instead of `match-string'. |
||
|---|---|---|
| .. | ||
| ccl.el | ||
| characters.el | ||
| fontset.el | ||
| isearch-x.el | ||
| iso-ascii.el | ||
| iso-cvt.el | ||
| iso-transl.el | ||
| ja-dic-cnv.el | ||
| ja-dic-utl.el | ||
| kinsoku.el | ||
| kkc.el | ||
| latexenc.el | ||
| latin1-disp.el | ||
| mule-cmds.el | ||
| mule-conf.el | ||
| mule-diag.el | ||
| mule-util.el | ||
| mule.el | ||
| ogonek.el | ||
| quail.el | ||
| rfc1843.el | ||
| robin.el | ||
| titdic-cnv.el | ||
| ucs-normalize.el | ||
| utf-7.el | ||
| utf7.el | ||