From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Hideously slow VC status queries fixed Date: Thu, 27 Dec 2007 13:24:21 -0500 Message-ID: References: <20071227001113.3EDFE830B6E@snark.thyrsus.com> <20071227021940.GA17434@thyrsus.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1198780000 5575 80.91.229.12 (27 Dec 2007 18:26:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2007 18:26:40 +0000 (UTC) Cc: tromey@redhat.com, esr@snark.thyrsus.com, emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 27 19:26:54 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 1J7xRM-000220-Ly for ged-emacs-devel@m.gmane.org; Thu, 27 Dec 2007 19:26:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7xR1-0004Y4-Lh for ged-emacs-devel@m.gmane.org; Thu, 27 Dec 2007 13:26:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J7xP6-0002iY-P1 for emacs-devel@gnu.org; Thu, 27 Dec 2007 13:24:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J7xP4-0002gt-Pn for emacs-devel@gnu.org; Thu, 27 Dec 2007 13:24:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7xP4-0002gX-6z for emacs-devel@gnu.org; Thu, 27 Dec 2007 13:24:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J7xP4-0007W9-4m for emacs-devel@gnu.org; Thu, 27 Dec 2007 13:24:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1J7xP3-0000vG-Kd; Thu, 27 Dec 2007 13:24:21 -0500 In-reply-to: <20071227021940.GA17434@thyrsus.com> (esr@thyrsus.com) 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:85524 Archived-At: parsing time could be an issue -- has anyone profiled 26,499 regexp matches lately ? The speed of regexp matching depends greatly on the regexp itself. If that regexp is slow, perhaps there is a much faster way to parse that data. Just turning off undo during the initial creation of that buffer's contents will also speed it up somewhat, but I don't know if that is significant.