On Sat, Dec 10, 2005 at 12:40:05PM +0100, Juergen Spitzmueller wrote:
> Juergen Spitzmueller wrote:
> > It seems the behaviour was changed by André on 2004-04-13 during a major
> > macro rewrite.
> 
> The attached patch restores the behaviour of 1.3: initMath() is not called on 
> startup, but the first time a math inset is being inserted (or when a 
> document with math insets is loaded, respectively). I'm not sure if this is 
> the best approach, and it needs some testing. I just tested if symbols like 
> \alpha are being displayed.
> 
> Anyway, I think that initializing the whole math machinery during startup is 
> a 
> big annoyance for all users who actually never need it, as long as it 
> consumes this amount of time.
> 
> I also thought about invoking initMath() at the end of the startup, but in 
> the 
> background (asynchronously), which would probably be the most elegant way. I 
> don't know if this is already possible, though, and how. Furthermore, we 
> could of course try to speed up getSymbolFont :-)
> 
> What do you think?

This brings "time lyx -x lyx-quit" down to 1.6s on my opteron.  
A nice improvement, but there is still some way to go to the sub-
second startup times of lyx-1.3

Helge Hafting

Reply via email to