2.4.1
Jürgen Spitzmüller
jspitzm at gmail.com
Fri Jul 5 12:10:51 UTC 2024
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
More information about the lyx-devel
mailing list