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

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to