From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dhruva Krishnamurthy" Newsgroups: gmane.emacs.devel Subject: Re: Performance 21.3.50 W2K Date: Fri, 1 Nov 2002 06:51:57 UT Sender: emacs-devel-admin@gnu.org Message-ID: <20021101065157.9322150A054@server5.fastmail.fm> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036133777 5419 80.91.224.249 (1 Nov 2002 06:56:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2002 06:56:17 +0000 (UTC) Cc: "Emacs Devel" Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 187Vj5-0001PH-00 for ; Fri, 01 Nov 2002 07:56:15 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 187Vp1-00083Q-00 for ; Fri, 01 Nov 2002 08:02:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 187Vgx-0006xb-00; Fri, 01 Nov 2002 01:54:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 187Vf3-0006EF-00 for emacs-devel@gnu.org; Fri, 01 Nov 2002 01:52:05 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 187Vf0-0006E3-00 for emacs-devel@gnu.org; Fri, 01 Nov 2002 01:52:04 -0500 Original-Received: from fastmail.fm ([209.61.183.86] helo=www.fastmail.fm) by monty-python.gnu.org with esmtp (Exim 4.10) id 187Vez-0006Dl-00; Fri, 01 Nov 2002 01:52:01 -0500 Original-Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id B132B6DB2E; Fri, 1 Nov 2002 00:51:59 -0600 (CST) Original-Received: from server5.fastmail.fm (server5.internal [10.202.2.136]) by www.fastmail.fm (Postfix) with ESMTP id 2A6536DA96; Fri, 1 Nov 2002 00:51:59 -0600 (CST) Original-Received: by server5.fastmail.fm (Postfix, from userid 99) id 9322150A054; Fri, 1 Nov 2002 00:51:57 -0600 (CST) Content-Disposition: inline X-Mailer: MIME::Lite 1.2 (F2.6; T1.001; A1.50; B2.12; Q2.03) Original-To: "Richard Stallman" , "Eli Zaretskii" X-Epoch: 1036133519 X-Sasl-enc: eAwgXNy4PWmmJGJc96E4kQ Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9023 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9023 On Thu, 31 Oct 2002 12:26:57 -0500, "Richard Stallman" said: > > I tried opening a 58Mb file (Yes, I know it was a stupid thing to do) in > > Emacs. It just froze for couple of minutes (2 to 3 mins) and opened the > > file. > > If you do find-file-literally, how fast is that? It takes less than 3 to 4 seconds. Emacs and XEmacs have almost identical performance. Well, since I am on this list, I could get clarifications. For a user, I feel we should come up with a slightly different behaviour. 1. If the file size is greater than a given size (user customizable) and if it has non-ascii chars, we should prompt whether to use 'find-file-literally instead of 'find-file. or 1. Come up with buffered reading for large files. Read a portion of the file, display it and repeat this till the file is completely read. An assumption can be made, user will not want to go to the end of the file immediately. with regards, dhruva -- Dhruva Krishnamurthy Home: http://www.geocities.com/gnued/