On Thu, Dec 10, 2009 at 9:45 AM, Jean-Marc Lasgouttes wrote:
> Pavel Sanda writes:
>> Jean-Marc Lasgouttes wrote:
>>> the real work
>>> on our buffer structure can be fast enough IMO.
>>
>> it is not? pavel
>
> I thought people implied that it was not, but I may be mistaken.
>
> JMarc

Usually .tex generation seems instantaneous, even with large
documents.  The main bottleneck is when LyX waits for LaTeX,
especially when LaTeX must rerun to generate references.

I recently noted that it takes about 5 seconds for LyX to load my
master document.  Not as quick as I'd like, but it's tolerable.
However, if layout conversion occurs in all the children, then it
takes absurdly long.

One instance where .tex generation does cause a slowdown is with "View
Source" open.   While editing a large document with "Complete Source"
checked, LyX can't keep up with my typing speed.  This issue is
insidious because the user may not realize that the "View Source"
window is the cause.  It makes LyX look painfully slow.  Using a
separate thread to update the "View Source" pane would be a tremendous
improvement.

Furthermore, if we want the eventual possibility for a continuously
updated preview, then the "clone buffer before .tex generation" method
may be useful to ensure that the user isn't periodically interrupted.

-Ben

Reply via email to