Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| Lars>      Lazy Generation of LyXText --------------------------
| 
| That looks pretty interesting. The only case where people will find it
| annoying is when loading a document and then using the scrollbar to
| find something.

Yes, but if you stop to check something out for a second or two the
lazy generation when idle will kick in. And it is only the first time
you view the paragraph that you will get some lag.

| 
| Lars>      Fun stuff: Instead of doing the lazy evaluation only when
| Lars> needed or by the idle callback this could also be done by a
| Lars> separate thread taking advantage of SMP and/or io-blocking in
| Lars> the main thread. We could even have the evaluation of each
| Lars> paragraph we done in its own thread (or by a few² worker
| Lars> threads)
| 
| I'd rather refrain from using threads for now... I'm afraid this will
| open another can of worm wrt portability and stability.

As I said fun stuff. Also using threads do not have to affect other
code at all.

        Lgb

Reply via email to