summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-03-16 16:24:24 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-04-04 09:49:31 +0200
commitf4833c88bbb3ca69f75e230a50bbd5edb4d5c00d (patch)
treed36d89e233f8a0a9510bb00669cd95dd7fedfdae /src/emacs.c
parent16ee9fa138817c061d00cf9a59d2b3f559eebfe1 (diff)
downloademacs-f4833c88bbb3ca69f75e230a50bbd5edb4d5c00d.tar.gz
emacs-f4833c88bbb3ca69f75e230a50bbd5edb4d5c00d.tar.bz2
emacs-f4833c88bbb3ca69f75e230a50bbd5edb4d5c00d.zip
Rewrite string-greaterp and string> using string-lessp
Since string-lessp has its own byte-op, using it is much faster than calling string-greaterp even with the need to bind a temporary variable. * lisp/emacs-lisp/byte-opt.el (byte-optimize-string-greaterp): New. (string-greaterp, string>): Set byte-optimizer.
Diffstat (limited to 'src/emacs.c')
0 files changed, 0 insertions, 0 deletions