Subject: Re: bug#63040: 30.0.50; Performance of buf_bytepos_to_charpos when a buffer has large number of markers

From: Stefan Monnier <[email-masked]>
Date: Tue, 25 Jun 2024 17:04:25 -0400

Hi Ihor,

> When investigating `re-search-forward' performance in
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58558 (bug#58558), I
> noticed that buf_bytepos_to_charpos is taking most of the CPU time,
> according to perf stats.

I couldn't find a recipe to reproduce the problem.
Could you point me to it?

        Stefan