From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3 Date: Fri, 24 Oct 2008 22:01:19 -0400 Message-ID: References: <20081022091136.GB924@muc.de> <20081022211202.GA1037@muc.de> <49001F5A.7040402@harpegolden.net> <20081023090908.GB2666@muc.de> <4900ACF9.7060501@harpegolden.net> <4900FF17.2000203@harpegolden.net> <4901FB95.8080703@harpegolden.net> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1224900294 28221 80.91.229.12 (25 Oct 2008 02:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2008 02:04:54 +0000 (UTC) Cc: acm@muc.de, eliz@gnu.org, lennart.borgman@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 25 04:05:54 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KtYWl-0001NT-GA for ged-emacs-devel@m.gmane.org; Sat, 25 Oct 2008 04:05:47 +0200 Original-Received: from localhost ([127.0.0.1]:34476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtYVd-00065Q-KO for ged-emacs-devel@m.gmane.org; Fri, 24 Oct 2008 22:04:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtYVZ-00065L-EJ for emacs-devel@gnu.org; Fri, 24 Oct 2008 22:04:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtYVZ-000659-1h for emacs-devel@gnu.org; Fri, 24 Oct 2008 22:04:05 -0400 Original-Received: from [199.232.76.173] (port=59650 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtYVY-000656-V6 for emacs-devel@gnu.org; Fri, 24 Oct 2008 22:04:04 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:48650) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtYVY-00049H-OR for emacs-devel@gnu.org; Fri, 24 Oct 2008 22:04:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KtYSt-0002gE-1u; Fri, 24 Oct 2008 22:01:19 -0400 In-reply-to: <4901FB95.8080703@harpegolden.net> (message from David De La Harpe Golden on Fri, 24 Oct 2008 17:45:09 +0100) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104975 Archived-At: OTOH the normal-mode call is noticeably slower for emacs23 (though not as pronounced as on your w32 - of course, the emacs23 normal-mode code path includes more file attribute usage due to the .dir.settings.el stuff...) Does `normal-mode' look for the that file more than once in a given directory? If so, that is an easy optimization: record the directories in which it has looked for that file, and don't look again.