From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Performance 21.3.50 W2K Date: Wed, 30 Oct 2002 19:21:36 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: <9003-Wed30Oct2002192135+0200-eliz@is.elta.co.il> References: <20021030093213.4AA5B4770A7@server5.fastmail.fm> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036003085 8723 80.91.224.249 (30 Oct 2002 18:38:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 18:38:05 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 186xcO-0001mE-00 for ; Wed, 30 Oct 2002 19:31:04 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 186xhb-0001f0-00 for ; Wed, 30 Oct 2002 19:36:27 +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 186xaK-0000mR-00; Wed, 30 Oct 2002 13:28:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 186wVt-0000bz-00 for emacs-devel@gnu.org; Wed, 30 Oct 2002 12:20:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 186wVn-0000ag-00 for emacs-devel@gnu.org; Wed, 30 Oct 2002 12:20:15 -0500 Original-Received: from balder.inter.net.il ([192.114.186.15]) by monty-python.gnu.org with esmtp (Exim 4.10) id 186wVn-0000aX-00 for emacs-devel@gnu.org; Wed, 30 Oct 2002 12:20:11 -0500 Original-Received: from zaretsky (adsl-ayalon-pc-128-17.inter.net.il [213.8.128.17]) by balder.inter.net.il (Mirapoint Messaging Server MOS 3.2.1-GA) with ESMTP id BXF56682; Wed, 30 Oct 2002 19:20:05 +0200 (IST) Original-To: seagull@fastmail.fm X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <20021030093213.4AA5B4770A7@server5.fastmail.fm> (seagull@fastmail.fm) 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:8968 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8968 > Date: Wed, 30 Oct 2002 09:32:13 UT > From: "Dhruva Krishnamurthy" > > 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. What surprises me is, the same file when I open in XEmacs (latest > beta), it took less than 5 seconds. I see a very big performance > difference in this regard. Perhaps your XEmacs was built without Mule. In that case, "M-x find-file-literally" instead of "C-x C-f" should be as fast as XEmacs. The reason for this performance hit is that "C-x C-f" by default tries to detect whether the file has encoded non-ASCII characters, and if so, decodes them into internal representation used for non-ASCII characters within Emacs buffers. XEmacs compiled without Mule doesn't do that, so visiting a large file is faster.