From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Hideously slow VC status queries fixed Date: Fri, 28 Dec 2007 04:02:53 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20071228090253.GA23009@thyrsus.com> References: <20071227001113.3EDFE830B6E@snark.thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198832609 26463 80.91.229.12 (28 Dec 2007 09:03:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 09:03:29 +0000 (UTC) Cc: Tom Tromey , esr@snark.thyrsus.com, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 28 10:03:43 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 1J8B80-0005EA-5R for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 10:03:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8B7f-0005kX-0s for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 04:03:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8B7J-0005j2-Fm for emacs-devel@gnu.org; Fri, 28 Dec 2007 04:02:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8B7I-0005i8-DR for emacs-devel@gnu.org; Fri, 28 Dec 2007 04:02:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8B7I-0005ho-2u for emacs-devel@gnu.org; Fri, 28 Dec 2007 04:02:56 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8B7E-0000ng-6I; Fri, 28 Dec 2007 04:02:52 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id B090D830BC9; Fri, 28 Dec 2007 04:02:53 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) 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:85535 Archived-At: Richard Stallman : > After a few minutes I got this: > > Warning (undo): Buffer `gcc' undo info was 3023389 bytes long. > The undo info was discarded because it exceeded `undo-outer-limit'. > > This probably means there is some buffer or some operation in which > undo should be turned off entirely. For instance, when vc-dired > fills the buffer with information, it may as well have undo turned > off during that. Excellent point. I went and did it. vc-state and vc-dir-state have been the main performance bottlenecks in this code from day one. Time spent tuning them is not wasted. -- Eric S. Raymond