bug-gnu-emacs
[Top][All Lists]
Advanced

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

mmap visited files?


From: phr-2002
Subject: mmap visited files?
Date: 18 Feb 2002 00:41:18 -0000

This is an idea for some unknown future Emacs.  I wonder if it's
feasible, when someone first visits a file, to simply mmap it instead
of reading it all into memory.  This would allow viewing and browsing
large files to start up a little faster than the current approach.

Of course if the buffer gets modified, it's messy to not read it all
in at that point.  So buffer objects would just have a flag saying
whether the contents were a 'real' buffer or just a mapped file.



reply via email to

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