On Fri, Jun 29, 2007 at 10:38:20AM +0200, Abdelrazak Younes wrote:
>  Dov Feldstern wrote:
> > Jean-Marc Lasgouttes wrote:
> >> Dov> This may not be very costly relative to the painting, but it's
> >> Dov> certainly much more wasteful than it needs to be.
> >>
> >> But iterating over a single line is very cheap, isn't it?
> >>
> >> The rule is: do not try to optimize until the profiler told you that
> >> you should do so.
> > Perhaps, I don't know. But note that the main incentive here is not the 
> > optimization, but the cleaning up of the code. Right now we have almost 
> > identical code in two different places. That's why this whole thing 
> > started.
> 
>  Yes, I prefer this reason ;-)
>  And I agree that LyX should not do anything between two blinks (except if 
>  there's something in the forked queue).
> 
>  Abdel.

What's more, I think it would be a good idea to suppress or
slow down blinking somehow when LyX is idle. Would save
battery on laptops, cf. the tickless kernel.

- Martin
 

Reply via email to