diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-09-14 18:46:40 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-09-15 09:40:08 +0200 |
commit | f941cc76df7476a055350b3b1b7e9e61d1ddb246 (patch) | |
tree | b1d38295911eaa0eeb189e2e0ed44ca65f2d1587 /test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-function-alias.el | |
parent | 429e61b130232e69531f7d44b2bc610d43c8217d (diff) | |
download | emacs-f941cc76df7476a055350b3b1b7e9e61d1ddb246.tar.gz emacs-f941cc76df7476a055350b3b1b7e9e61d1ddb246.tar.bz2 emacs-f941cc76df7476a055350b3b1b7e9e61d1ddb246.zip |
mapconcat fast path with `identity` function argument
This makes (mapconcat #'identity SEQ) slightly faster than
(apply #'concat SEQ), which used to be much faster.
Notably, `string-join` benefits from this change as it uses mapconcat.
* src/fns.c (Fmapconcat): Speed up execution when the function
argument is `identity`.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-function-alias.el')
0 files changed, 0 insertions, 0 deletions