diff options
author | Mattias Engdegård <mattiase@acm.org> | 2022-10-06 17:46:02 +0200 |
---|---|---|
committer | Mattias Engdegård <mattiase@acm.org> | 2022-10-07 13:57:54 +0200 |
commit | def6fa4246502befa174aa6409166b0967621f7b (patch) | |
tree | 42ec7fa50fc85593ac2357e1da445099b3b691b0 /lisp/textmodes/mhtml-mode.el | |
parent | 6b4c17dec06b7cac4025317daef68c302c61d4e6 (diff) | |
download | emacs-def6fa4246502befa174aa6409166b0967621f7b.tar.gz emacs-def6fa4246502befa174aa6409166b0967621f7b.tar.bz2 emacs-def6fa4246502befa174aa6409166b0967621f7b.zip |
Speed up string-lessp for multibyte strings
Improve comparison speed when both arguments are multibyte strings,
at least one of them containing a non-ASCII character. (All-ASCII
multibyte strings are already fast.)
The speed-up is about 2× for strings of 10 chars, 10× for strings of
100 chars.
* src/fns.c (Fstring_lessp): Quickly skip the common prefix by
comparing words.
Diffstat (limited to 'lisp/textmodes/mhtml-mode.el')
0 files changed, 0 insertions, 0 deletions