From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: open large file with C code: is it realy should be so slow? Date: Thu, 08 Jan 2009 06:37:52 -0500 Message-ID: References: <87aba3kj99.fsf@cyd.mit.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1231414771 19910 80.91.229.12 (8 Jan 2009 11:39:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2009 11:39:31 +0000 (UTC) Cc: bug-cc-mode@gnu.org, acm@muc.de, davemilter@gmail.com, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 08 12:40:42 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 1LKtFa-0007dE-Bu for ged-emacs-devel@m.gmane.org; Thu, 08 Jan 2009 12:40:34 +0100 Original-Received: from localhost ([127.0.0.1]:33521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKtEK-0003TL-BP for ged-emacs-devel@m.gmane.org; Thu, 08 Jan 2009 06:39:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKtED-0003TG-9L for emacs-devel@gnu.org; Thu, 08 Jan 2009 06:39:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKtEA-0003T4-TQ for emacs-devel@gnu.org; Thu, 08 Jan 2009 06:39:07 -0500 Original-Received: from [199.232.76.173] (port=42298 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKtEA-0003T1-NN for emacs-devel@gnu.org; Thu, 08 Jan 2009 06:39:06 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:55393) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKtEA-0001Gz-Ez for emacs-devel@gnu.org; Thu, 08 Jan 2009 06:39:06 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LKtCy-0005P8-JD; Thu, 08 Jan 2009 06:37:52 -0500 In-reply-to: <87aba3kj99.fsf@cyd.mit.edu> (message from Chong Yidong on Tue, 06 Jan 2009 20:16:50 -0500) X-detected-operating-system: by monty-python.gnu.org: GNU/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:107707 Archived-At: 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. char *p = 0; main () { *p = 1; }