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. Candidate for stable. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel