emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance 21.3.50 W2K


From: Dhruva Krishnamurthy
Subject: Re: Performance 21.3.50 W2K
Date: Fri, 1 Nov 2002 06:51:57 UT

On Thu, 31 Oct 2002 12:26:57 -0500, "Richard Stallman" <address@hidden>
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 via email to

[Prev in Thread] Current Thread [Next in Thread]