summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorMattias Engdegård <mattiase@acm.org>2022-10-06 17:46:02 +0200
committerMattias Engdegård <mattiase@acm.org>2022-10-07 13:57:54 +0200
commitdef6fa4246502befa174aa6409166b0967621f7b (patch)
tree42ec7fa50fc85593ac2357e1da445099b3b691b0 /lisp/eshell
parent6b4c17dec06b7cac4025317daef68c302c61d4e6 (diff)
downloademacs-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/eshell')
0 files changed, 0 insertions, 0 deletions