From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: CVS Emacs on Windows XP takes 60 seconds to start Date: Wed, 03 Sep 2008 10:30:24 -0400 Message-ID: References: <48BD9EA0.60608@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220452515 27104 80.91.229.12 (3 Sep 2008 14:35:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2008 14:35:15 +0000 (UTC) Cc: Francis Litterio , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 03 16:36:07 2008 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 1KatQ1-00058r-5h for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 16:33:13 +0200 Original-Received: from localhost ([127.0.0.1]:56047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KatP1-0002Hl-LX for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 10:32:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KatNY-0001OW-Qg for emacs-devel@gnu.org; Wed, 03 Sep 2008 10:30:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KatNX-0001NN-9K for emacs-devel@gnu.org; Wed, 03 Sep 2008 10:30:39 -0400 Original-Received: from [199.232.76.173] (port=54779 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KatNW-0001NH-Km for emacs-devel@gnu.org; Wed, 03 Sep 2008 10:30:38 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KatNR-0007I7-Dj; Wed, 03 Sep 2008 10:30:33 -0400 Original-Received: from alfajor.home (vpn-132-204-232-121.acd.umontreal.ca [132.204.232.121]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m83EUwLN014518; Wed, 3 Sep 2008 10:30:58 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id B82AE1C971; Wed, 3 Sep 2008 10:30:25 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Wed, 03 Sep 2008 06:25:18 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3095=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:103502 Archived-At: > Beyond that, I intend to make changes in the code such that the file > security information is requested only when the caller of `stat' > really needs that. The absolute majority of `stat' calls during > startup come from functions like `file-exists-p' and `load' (via > `openp') that only need to know if the file exists and is a > directory. I want to modify code so that Emacs doesn't even try to > call lookup_account_sid on behalf of these callers. This should bring > down the startup time even for situations such as yours, where a > firewall blocks access to LDAP. Making it lazier is probably a good idea, but if the info will eventually be needed anyway, maybe we should also eagerly featch this info (asynchronously). After all, even a 10s delay is quite noticeable. Stefan