unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Dhruva Krishnamurthy" <seagull@fastmail.fm>
Cc: "Emacs Devel" <emacs-devel@gnu.org>
Subject: Re: Performance 21.3.50 W2K
Date: Fri, 1 Nov 2002 06:51:57 UT	[thread overview]
Message-ID: <20021101065157.9322150A054@server5.fastmail.fm> (raw)

On Thu, 31 Oct 2002 12:26:57 -0500, "Richard Stallman" <rms@gnu.org>
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/

             reply	other threads:[~2002-11-01  6:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-01  6:51 Dhruva Krishnamurthy [this message]
2002-11-02  3:32 ` Performance 21.3.50 W2K Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-10-30  9:32 Dhruva Krishnamurthy
2002-10-30 16:21 ` Eli Zaretskii
2002-10-31 17:26   ` 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=20021101065157.9322150A054@server5.fastmail.fm \
    --to=seagull@fastmail.fm \
    --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).