unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Performance 21.3.50 W2K
@ 2002-10-30  9:32 Dhruva Krishnamurthy
  2002-10-30 16:21 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Dhruva Krishnamurthy @ 2002-10-30  9:32 UTC (permalink / raw)
  Cc: Eli Zaretskii

Hi,
 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.

with regards,
dhruva
-- 
Dhruva Krishnamurthy
Home: http://www.geocities.com/gnued/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Performance 21.3.50 W2K
@ 2002-11-01  6:51 Dhruva Krishnamurthy
  2002-11-02  3:32 ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Dhruva Krishnamurthy @ 2002-11-01  6:51 UTC (permalink / raw)
  Cc: Emacs Devel

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-02  3:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-30  9:32 Performance 21.3.50 W2K Dhruva Krishnamurthy
2002-10-30 16:21 ` Eli Zaretskii
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

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).