summaryrefslogtreecommitdiff
path: root/src/unexec.h
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-09-22 07:22:17 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-22 07:22:22 +0200
commitf2bd2386a79fed311361fd9ca809ab1b2a0362a6 (patch)
treec8c9d87316ac2fdb863763d03ef696ad814c40e5 /src/unexec.h
parent7ce721bdacd65d47031060ee8e81d6117e94cc75 (diff)
downloademacs-f2bd2386a79fed311361fd9ca809ab1b2a0362a6.tar.gz
emacs-f2bd2386a79fed311361fd9ca809ab1b2a0362a6.tar.bz2
emacs-f2bd2386a79fed311361fd9ca809ab1b2a0362a6.zip
Speed up `replace-match' slightly
* src/search.c (Freplace_match): Speed up non-literal (but actually literal) common case. This makes (benchmark-run 1000000 (replace-regexp-in-string "a+" "foo" "ogihdipofdhookfdohkfdpokhpokhfdpokfdhpokfdhkdfkhgoadfphokfkhpofdkhkdpokf")) about 10% faster.
Diffstat (limited to 'src/unexec.h')
0 files changed, 0 insertions, 0 deletions