From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Patch for fields of `struct buffer' Date: Tue, 01 Feb 2011 11:28:11 -0800 Organization: UCLA Computer Science Department Message-ID: <4D485ECB.8090106@cs.ucla.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1296588521 3326 80.91.229.12 (1 Feb 2011 19:28:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2011 19:28:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 20:28:37 2011 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.69) (envelope-from ) id 1PkLtu-0007SL-2j for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2011 20:28:35 +0100 Original-Received: from localhost ([127.0.0.1]:42763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkLtn-0000nE-UV for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2011 14:28:24 -0500 Original-Received: from [140.186.70.92] (port=43566 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkLth-0000lu-3s for emacs-devel@gnu.org; Tue, 01 Feb 2011 14:28:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkLtd-0000sf-F8 for emacs-devel@gnu.org; Tue, 01 Feb 2011 14:28:15 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:54015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkLtd-0000s4-8q for emacs-devel@gnu.org; Tue, 01 Feb 2011 14:28:13 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 2483739E80E1; Tue, 1 Feb 2011 11:28:12 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PZ+PsrSVR4y7; Tue, 1 Feb 2011 11:28:11 -0800 (PST) Original-Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id C241639E8083; Tue, 1 Feb 2011 11:28:11 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 In-Reply-To: X-Enigmail-Version: 1.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 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:135417 Archived-At: On 02/01/11 10:26, Tom Tromey wrote: > It is rather slow. On my laptop it takes 10 seconds to scan src/*.c. > This would have to be done with every change to a .c file. Prepending "/DEFVAR_/!d" to the script sped it up by a factor of 8 on my server; it then ran in 0.142 seconds real-time.