emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and Gnome Canvas


From: Eli Zaretskii
Subject: Re: Emacs and Gnome Canvas
Date: Thu, 15 Jul 2010 17:35:15 +0300

> Date: Thu, 15 Jul 2010 16:24:27 +0200
> From: Jan Djärv <address@hidden>
> Cc: address@hidden, address@hidden
> 
> > The way it looks, parts of the current redisplay code will have to run
> > whenever there's a change, any change, to some buffer or some related
> > data structure.  If the parts affected by these changes are not
> > displayed, or become not displayed before the GTK+ idle handlers run,
> > propagating those changes would be a waste of CPU cycles.
> 
> No, they need to be done anyway sometime, it is no waste.  If the text isn't 
> displayed, the attributes are nvertheless set up correctly for the time when 
> the text is to be displayed later (by scrolling for example).

By which time those attributes could have recomputed many times, for
just one display!

> If done right, I don't think it would be slower.  But someone has to do the 
> code before we know.

Well, naturally, if "done right"s definition is "to be no slower" ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]