On Wed, Feb 03, 2021 at 03:58:03PM +0100, Jean-Marc Lasgouttes wrote: > Le 02/02/2021 à 06:47, Scott Kostyshak a écrit : > > > > Starting with this commit, tex2lyx is a bit slower. For importing the > > string "\textbf{hello}", it took about 0.15s before (as measured by the > > "real" row of the "time" command output) and now it takes about 0.56s. I > > tested by putting the string in a file mwe.tex and running the following > > command: > > > > $ time /path/to/tex2lyx -userdir /path/to/user-dir -fixedenc utf8 -f > > mwe.tex /dev/null > > > > The fix seems like nice feature, so the small increase in time might be > > worth it. Also, tex2lyx is not usually a feature that a user uses > > repeatedly, so in my opinion a delay is fine. Nonetheless, I note the > > increased time just in case it was unexpected. > > Is it only startup time, or is it worse with large documents?
In a quick test it does not seem so. Rather I would guess it would increase as the number/length of modules and layouts increase. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel