bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#122: 23.0.60; Slowdown in directory scanning over time.


From: Stefan Monnier
Subject: bug#122: 23.0.60; Slowdown in directory scanning over time.
Date: Tue, 16 Sep 2008 09:25:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> I've just modified the current code to avoid calling
> Fget_buffer_create when we alreay have
> Vcode_conversion_reused_workbuf.  But, I think it doens't
> influence the efficiency that much because
> Fget_buffer_create doesn't create a new buffer if a buffer
> of the specified name already exists.

But the title-problem showed that having many buffers (like 200 or so)
can cause this buffer-name-lookup to take a long time.  The worst part
is that having 200 buffers is not particularly excessive: I regularly
have Emacs session with a hundred buffers or so.  So we should avoid
this lookup loop whenever necessary.


        Stefan






reply via email to

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