Subject: Re: bug#44861: 27.1; [PATCH] signal in `replace-regexp-in-string'

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 26 Nov 2020 14:12:35 +0100

Mattias Engdegård <[email-masked]> writes:

> However, unlike Boris we can eat our cake and have it! The attached
> patch performs the match-data translation in a C function, which
> obviously is much faster and indeed speeds up replace-regexp-in-string
> in all cases (as long as there is any match at all).

I'm all for speeding up replace-regexp-in-string (which is used all over
the place), so your change looks reasonable to me.

But I wonder -- would it make sense to move the entire
replace-regexp-in-string function to C?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no