emacs-devel
[Top][All Lists]
Advanced

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

Re: What makes set-window-buffer slow?


From: Clément Pit--Claudel
Subject: Re: What makes set-window-buffer slow?
Date: Thu, 23 Jun 2016 14:30:02 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 2016-06-23 14:12, Alan Mackenzie wrote:
> Hello, Clément.
Hi Alan,

> On Thu, Jun 23, 2016 at 01:45:56PM -0400, Clément Pit--Claudel wrote:
>> Thanks for this suggestion! I probably have to investigate why
>> redisplay is slow, then; that's bound to be rather tricky :/
> 
> Redisplay is NOT slow.  It's written in C and is heavily optimised.

Thanks for the clarification! Do you know what else might make 
set-window-buffer slow?

>> Is there a reason for set-window-buffer to trigger redisplay if the window 
>> was already displaying that same buffer?
> 
> I can't answer your exact question, but should redisplay get triggered
> in these circumstances, its optimisations would ensure that the reusable
> part of the display would, in fact, get reused.

Nifty. Thanks!

Clément.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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