unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: Performance 21.3.50 W2K
Date: Wed, 30 Oct 2002 19:21:36 +0300	[thread overview]
Message-ID: <9003-Wed30Oct2002192135+0200-eliz@is.elta.co.il> (raw)
In-Reply-To: <20021030093213.4AA5B4770A7@server5.fastmail.fm> (seagull@fastmail.fm)

> Date: Wed, 30 Oct 2002 09:32:13 UT
> From: "Dhruva Krishnamurthy" <seagull@fastmail.fm>
> 
>  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.

  reply	other threads:[~2002-10-30 16:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30  9:32 Performance 21.3.50 W2K Dhruva Krishnamurthy
2002-10-30 16:21 ` Eli Zaretskii [this message]
2002-10-31 17:26   ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-11-01  6:51 Dhruva Krishnamurthy
2002-11-02  3:32 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9003-Wed30Oct2002192135+0200-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).