[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Autoexpanding ZIP archives?

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-12-07 22:35:59 CET

On Wed, 7 Dec 2005, John Peacock wrote:

> Peter N. Lundblad wrote:
> > Why wouldn't the binary diff algorithm be suitable for XML documents?
>
> It is, but that isn't the smallest possible diff for that document type,
> which could be generated by some magical xmldiff like one of these:
>
...
> all of which provide a context sensitive diff, based on the underlying
> XML structure. The binary diff algorithm doesn't know nothin' 'bout
> parsin' no XML files, so it is just a binary mapping between two
> collections of bytes.
>
Hmmm, are we entering micro-optimization land now. Maybe the binary diff
doesn't produce the smallest diff possible, but it must be much better
than a context diff in this situation. I can understand why people want
us to be more intelligent for .zip files, but not in this case.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 7 22:37:54 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.