all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kenichi Handa <handa@m17n.org>
Cc: rms@gnu.org, 122@emacsbugs.donarmstrong.com,
	cyd@stupidchicken.com, lenbok@gmail.com,
	bug-submit-list@donarmstrong.com, bug-gnu-emacs@gnu.org
Subject: bug#122: 23.0.60; Slowdown in directory scanning over time.
Date: Tue, 16 Sep 2008 09:25:22 -0400	[thread overview]
Message-ID: <jwvwshc9qfw.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <E1KfPLz-00037c-9H@etlken.m17n.org> (Kenichi Handa's message of "Tue, 16 Sep 2008 10:27:43 +0900")

> 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	other threads:[~2008-09-16 13:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-26 22:29 bug#122: 23.0.60; Slowdown in directory scanning over time Chong Yidong
2008-08-27  3:02 ` Len Trigg
2008-08-31 21:57 ` Len Trigg
2008-09-02  1:09   ` Richard M. Stallman
2008-09-11  3:29     ` Len Trigg
2008-09-11  4:18       ` Chong Yidong
     [not found]       ` <E1KdpeJ-0004Sb-Oj@fencepost.gnu.org>
2008-09-11 22:35         ` Len Trigg
2008-09-12  0:42           ` Chong Yidong
2008-09-12  4:00             ` Len Trigg
2008-09-14 21:24               ` Len Trigg
2008-09-15  1:04         ` Kenichi Handa
2008-09-15  2:42           ` Len Trigg
2008-09-15 18:26           ` Richard M. Stallman
2008-09-16  1:09             ` Kenichi Handa
2008-09-16 16:18               ` Richard M. Stallman
2008-09-15 18:26           ` Richard M. Stallman
2008-09-16  1:27             ` Kenichi Handa
2008-09-16 13:25               ` Stefan Monnier [this message]
2008-09-17  2:19                 ` Kenichi Handa
2008-09-17 16:02                   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvwshc9qfw.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=122@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=bug-submit-list@donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=handa@m17n.org \
    --cc=lenbok@gmail.com \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.