2.4.1

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri Jul 5 12:13:43 UTC 2024


Le 05/07/2024 à 14:10, Jürgen Spitzmüller a écrit :
> Am Donnerstag, dem 04.07.2024 um 17:12 +0200 schrieb Jean-Marc
> Lasgouttes:
>>  From what I understand, it exhausts the memory of the computer by
>> allocating memory somewhere in the regex machinery (see the backtrace
>> in the report). So the problem is not just about caching.
> 
> Regex indeed was the main bottleneck. I introduced a case-insensitive
> docstring subst() variant and replaced the regex with that.
> 
> There is still much room for optimization (try inset tooltip or
> citation dialog opening with the respective citation), and removing of
> redundant calls, but the file should at least open and load reasonably
> fast.

Thanks.

JMarc



More information about the lyx-devel mailing list