From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: open large file with C code: is it realy should be so slow? Date: Thu, 8 Jan 2009 12:42:22 +0000 Message-ID: <20090108124222.GA5284@muc.de> References: <87aba3kj99.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231417555 29006 80.91.229.12 (8 Jan 2009 12:25:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2009 12:25:55 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Chong Yidong , davemilter@gmail.com, emacs-devel@gnu.org To: Richard M Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 08 13:27:03 2009 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 1LKtyR-0004Hv-PH for ged-emacs-devel@m.gmane.org; Thu, 08 Jan 2009 13:26:56 +0100 Original-Received: from localhost ([127.0.0.1]:40325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKtxB-0000nj-Su for ged-emacs-devel@m.gmane.org; Thu, 08 Jan 2009 07:25:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKtx6-0000nZ-F1 for emacs-devel@gnu.org; Thu, 08 Jan 2009 07:25:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKtx5-0000nM-TI for emacs-devel@gnu.org; Thu, 08 Jan 2009 07:25:32 -0500 Original-Received: from [199.232.76.173] (port=52064 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKtx5-0000nC-KT for emacs-devel@gnu.org; Thu, 08 Jan 2009 07:25:31 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:1600 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LKtx4-0007Xf-Uw for emacs-devel@gnu.org; Thu, 08 Jan 2009 07:25:31 -0500 Original-Received: (qmail 15019 invoked by uid 3782); 8 Jan 2009 12:25:24 -0000 Original-Received: from acm.muc.de (pD9E23A4C.dip.t-dialin.net [217.226.58.76]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Thu, 08 Jan 2009 13:25:20 +0100 Original-Received: (qmail 5341 invoked by uid 1000); 8 Jan 2009 12:42:22 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:107709 Archived-At: Hi, Richard, On Thu, Jan 08, 2009 at 06:37:52AM -0500, Richard M Stallman wrote: > Apparently, the netbook you are using (Lemote Yeeloong) has a 600-800 > MHz processor. That shouldn't be so slow as to yield 20 second loading > times. There's likely something strange going on. Could you try with > Emacs 22 and see if the problem recurs there? > Visiting the small .c file below takes around 2 seconds in Emacs 22. > It takes 15 or 20 seconds in Emacs 23. In both cases I used -Q > and visited the file first thing after Emacs started. Could you try in Emacs-23 with the CC Mode from Emacs-22, and vice versa? CC Mode is in .../lisp/progmodes/cc-*.elc Thanks! -- Alan Mackenzie (Nuremberg, Germany).