Le 12/07/2022 à 22:31, Scott Kostyshak a écrit :
Part of it is that I just like to bother JMarc,

I am glad to humor you.

As for how to solve the performance issue, is there any smart caching
that can be done?

The first thing to do would be to scrap the current method and create a new version from scratch. Going though a document with an iterator character by character is a horribly slow by design. The code goes though each and every math formula without any hope of finding something.

updateBuffer is a good example of how to do this right.

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

Reply via email to