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