Heya Mitch,
Fair enough.
I'ld suggest going ahead because as it stands, CVS is quite often
used in a remote manner where the server is a zillion (or so) miles
away. If you could make CVS to not everytime go thru the Net and
find the server serving it the same code, that'ld be great!
Maybe (for a second phase) we might want to add a flag in the
config file that says whether CVS should calculate with
timestamps or with MD5 (or CRC for that matter).
Oh, and for that matter, I'ld like to be on the Beta test group :-)
Got a fairly large code base here which is far away from my dev-box,
so I'm more than happy if the comms between client and server would
become faster :-)) (I'm using 1.10.8 now).
Just my two cents,
Guus
> -----Original Message-----
> From: Mitch Davis [mailto:[EMAIL PROTECTED]]
> Sent: 14 April 2000 07:08
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Could timestamps be replaced with MD5?
>
>
> Dear Gerhard,
>
> > Also there is the problem of doing
> > cp -p to copy a file from somewhere else back into the working copy
>
> Or running ALL your files through a perl or sed script. Most may be
> unchanged, but ALL will be updated by CVS as it currently stands.
>
> > Given the size of our code base I'd prefer a CRC over an MD5
> > (at 1 second per file overhead, an md5 would cost over an
> hour extra)
>
> I think the algorithm is not the problem, since md5 can processes
> many many megabytes per second.
>
> Like all computing time problems, the real impact is only
> apparent when you run it in real life and profile it. Let's try
> it and see. While the algorithm is surprisingly fast, it WILL
> require that every file be read into memory, something the
> timestamp approach doesn't require. So I think the impact will
> not be from the checksum (by whichever method) but from reading
> the files.
>
> Anyway, the proof of the pudding is in the eating, and I shan't ask
> others to put up with my wonderings until I have some code to
> show for it!! :-)
>
> Regards,
>
> Mitch.
> --
> | mailto:[EMAIL PROTECTED] | Not the official view of: |
> | mailto:[EMAIL PROTECTED] | Australian Calculator Opn |
> | Certified Linux Evangelist! | Hewlett Packard Australia |
>