emacs-devel
[Top][All Lists]
Advanced

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

Re: map-file-lines


From: Stefan Monnier
Subject: Re: map-file-lines
Date: Mon, 02 Feb 2009 23:11:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> How is that better than insert-file-contents as I use it?

> It processes just one chunk at a time, with no need to keep the whole
> file in memory.  A naive implementation could look like
> (start-process "open-file-stream" nil "cat" file).

Sorry, I misread.  No it's not necessarily better.


        Stefan




reply via email to

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