Re: [dev] situ — change files in situ

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Fri, 13 Apr 2012 16:15:58 +0100

On 13 April 2012 16:04, Strake <strake888_AT_gmail.com> wrote:
> I'm not sure why — this method seems ultimately functionally equivalent to mine.
> Perhaps I fail to ken your logic here.

Your method, while simpler, requires 2n space to 'situ' a length n
file. A suitable patch format would require only enough space to store
the changes to the original file. The outcome would be identical, but
if we're trying to sed only a few changes in a large file it would be
more efficient in terms of storage.

cls
Received on Fri Apr 13 2012 - 17:15:58 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 13 2012 - 17:24:04 CEST