diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-05-10 10:35:39 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-05-10 15:45:15 +0200 |
commit | 184d6e8c02345583264b053bb59ae031bb1c5a00 (patch) | |
tree | 14956823cbe37488155d784abe9c921e17b42a45 /lisp/emacs-lisp/lisp-mnt.el | |
parent | 78761d699eed9e05bc4007927e63246c77c70ceb (diff) | |
download | emacs-184d6e8c02345583264b053bb59ae031bb1c5a00.tar.gz emacs-184d6e8c02345583264b053bb59ae031bb1c5a00.tar.bz2 emacs-184d6e8c02345583264b053bb59ae031bb1c5a00.zip |
Avoid resizing mutation in subst-char-in-string
* lisp/subr.el (subst-char-in-string):
Use string-replace to avoid resizing mutation and O(n^2) time.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions