monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] [PATCH] and RFC: binary files merging and hook


From: Nathaniel Smith
Subject: Re: [Monotone-devel] [PATCH] and RFC: binary files merging and hook
Date: Sun, 29 May 2005 01:27:35 -0700
User-agent: Mutt/1.5.9i

On Sun, May 29, 2005 at 09:29:45AM +0200, rghetta wrote:
> On Fri, 2005-05-27 at 20:13 -0700, Nathaniel Smith wrote:
> > But, the file is sitting right there on the filesystem, and the hook
> > can run arbitrary code.  For instance, it could peek at the file to
> > see whether it looks like it's binary.
> I'm a bit worried about efficency, here. Add already reads the file ? If
> yes, then monotone will read the file twice, and this could have a
> noticeable impact on add performance.

No, add doesn't read the file, so there's no duplicated work.

-- Nathaniel

-- 
"...these, like all words, have single, decontextualized meanings: everyone
knows what each of these words means, everyone knows what constitutes an
instance of each of their referents.  Language is fixed.  Meaning is
certain.  Santa Claus comes down the chimney at midnight on December 24."
  -- The Language War, Robin Lakoff




reply via email to

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