On Monday 08 July 2002 10:44 am, Juergen Vigna wrote:
> Angus Leeming wrote:
> >>_PLEASE_ enlighten me here. Are you talking about _loading_ or about
> >>_converting_ or maybe about both? I think we should make a distinction
> >>about _convert_ an image and _load/draw_ and image.
> >
> > Just loading.
> >
> > The preview code will gather all the latex snippets together and send
> > them off as a forked process to convert to X image files of PPM format.
> > LyX (xforms) can load these natively. It is this loading process that
> > takes time for 1000 equations. Hence Lars' idea of a thread.
>
> Ok that specified how much time takes it to just load 1-3 screenfull
> of images (obviously not only images but the screenfulls of your
> document)? It is not necessary to load all images at starting of lyx
> but only when they are needed.

Yes. This it would make sense to do this too. That's the first thing on my 
list of improvements. We'll see if that provides "acceptable" performance.

Along these lines, I think if it's a good idea if we can prevent loading 
while we're scrolling. Ie, if I'm moving the view using the scrollbar or the 
arrow keys, loading should be disabled. Only when I've stopped this and the 
screen position hasn't changed for a second or so should loading be started.

What do you think. Is this possible?

Angus

Reply via email to