[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mmap visited files?
From: |
Eli Zaretskii |
Subject: |
Re: mmap visited files? |
Date: |
Tue, 19 Feb 2002 09:28:51 +0200 |
> From: "Stefan Monnier" <monnier+gnu.emacs.bug/news/@RUM.cs.yale.edu>
> Newsgroups: gnu.emacs.bug
> Date: 18 Feb 2002 17:38:25 -0500
>
> As Eli pointed out, this won't work too well because the character
> encoding is generally different in-core than in-file. It would work
> for binary data and could also work for utf-8 files when Emacs is
> changed to use utf-8 internally.
The UTF-based internal representation is sufficiently different from
UTF-8 to make using mmap much less attractive.
> But it will still fail on DOS because
> of the idiot CRLF convention which still requires conversion between
> the in-core representation and the representation used in the files.
That's a non-issue, since mmap isn't support on DOS. You probably
meant Windows.