summaryrefslogtreecommitdiff
path: root/test/src/emacs-module-resources/mod-test.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2024-05-12 11:22:23 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2024-05-12 14:58:38 +0200
commit38091e43bee991920db81263fe56da444a123fae (patch)
treef6acb504bad0afa452ca7ee89c7f0afbd37ecc17 /test/src/emacs-module-resources/mod-test.c
parent86d196c71d763ae81229e7e1eb2c6e37d0456f06 (diff)
downloademacs-38091e43bee991920db81263fe56da444a123fae.tar.gz
emacs-38091e43bee991920db81263fe56da444a123fae.tar.bz2
emacs-38091e43bee991920db81263fe56da444a123fae.zip
Safer and faster string sorting
* lisp/emacs-lisp/cl-seq.el (cl-sort): Don't use string mutation when sorting the characters in a string. This avoids O(n^2) run time and makes it future-safe.
Diffstat (limited to 'test/src/emacs-module-resources/mod-test.c')
0 files changed, 0 insertions, 0 deletions