[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading huge files
From: |
Eli Zaretskii |
Subject: |
Re: Reading huge files |
Date: |
Wed, 10 Jan 2007 06:11:24 +0200 |
> From: Mathias Dahl <mathias.dahl@gmail.com>
> Date: Wed, 10 Jan 2007 00:29:15 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Does this really work? I think it won't: the underlying problem is
> > that for large files, END overflows the limits of the ELisp integer
> > type, and your suggestion doesn't resolve this fundamental problem.
> > So insert-file-contents will still barf with large files.
> >
> > Or am I missing something?
>
> I have only tested the code below with a 700 MB large movie file, and
> that is probably within the bounds you talk about. But even if it
> would fail (when does it fail?), being able to browse files hundreds
> of MB in size seems quite nice. Hence my new hack below.
If this is a 32-bit machine, then the Lisp integer overflows at
256MB. If that's a 64-bit machine, then you don't need any tricks to
edit 700MB files.
- Reading huge files, Leonid Grinberg, 2007/01/08
- Re: Reading huge files, Stefan Monnier, 2007/01/11
- Re: Reading huge files, Mathias Dahl, 2007/01/11
- Re: Reading huge files, Markus Triska, 2007/01/11
- Re: Reading huge files, Mathias Dahl, 2007/01/12
Message not available
Message not available