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: Alan Mackenzie
Subject: Re: What makes set-window-buffer slow?
Date: Thu, 23 Jun 2016 18:12:42 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello, Clément.

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.

> 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.

> Clément.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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