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: Hideously slow VC status queries fixed Date: Sat, 29 Dec 2007 02:40:40 -0500 Message-ID: References: <20071227001113.3EDFE830B6E@snark.thyrsus.com> <200712270241.lBR2fAjv018571@oogie-boogie.ics.uci.edu> <20071227132130.GD1270@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198914077 5999 80.91.229.12 (29 Dec 2007 07:41:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2007 07:41:17 +0000 (UTC) Cc: "Eric S. Raymond" , Dan Nicolaescu , emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 29 08:41:30 2007 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 1J8WJx-0005aJ-0K for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 08:41:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8WJZ-0001bk-CT for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 02:41:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8WJT-0001Xe-Ox for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:40:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8WJS-0001WA-Qn for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:40:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8WJS-0001Vo-IA for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:40:54 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J8WJQ-0003Pm-Ri for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:40:54 -0500 Original-Received: from bas-flu-bbcs-dynip-203-020.vtx.ch ([83.228.203.20] helo=ceviche.home) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8WJJ-0000zU-RN for emacs-devel@gnu.org; Sat, 29 Dec 2007 02:40:46 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7E88DB4108; Sat, 29 Dec 2007 02:40:40 -0500 (EST) In-Reply-To: <20071227132130.GD1270@thyrsus.com> (Eric S. Raymond's message of "Thu, 27 Dec 2007 08:21:30 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: 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:85591 Archived-At: >> That will show 1000 calls to vc-bzr-registered, vc-git-registered, >> vc-arch-registered, vc-svn-registered etc etc. > That could be sped up by noticing which files would normally be excluded > by dired and using using that information to set an 'excluded > property value. If dir-state did that, all those calls would be avoided Doesn't sound right: under PCL-CVS for example I don't need any such hack. I just look at CVS's `update' output and immediately see which files are "not ignored and not registered". Many/most backends do that as well. So we should add a vc-state "need-register" or somesuch. Stefan