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 _______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel