On 16/12/2010 00:39, [email protected] wrote:
Author: younes
Date: Thu Dec 16 00:39:38 2010
New Revision: 36896
URL: http://www.lyx.org/trac/changeset/36896
Log:
Split TeXEnvironment() in three functions. The real optimisation is yet to come.
Pavel, I should have probably requested your approval before doing that,
sorry about that. But the patches are iterative and mechanicals. I am
very cautious and I check that all help files produce identical latex
after each changes.
The reason I am doing that is that the latex export is really quite long
(more than 4 seconds for the UserGuide!). Up to now I was under the
impression that the delay was essentially due to the latex compilation
under windows but thanks to the message dialog I now realize that that's
not the only issue. Under Linux (and now also Windows), because of the
forked process this problem went unnoticed for years, literally. I think
we can optimize this quite significantly; at the end we shouldn't be
much more longer than a lyx file writing.
Abdel.