Diffing commits of big files is slow
aaron at aaronbentley.com
Mon Jun 22 02:26:48 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Martin Pool wrote:
> 2009/6/22 Robert Collins <robert.collins at canonical.com>:
>> On Mon, 2009-06-22 at 01:51 +0200, Daniel Clemente wrote:
>>> In a pack-0.92 branch with latest Bazaar (1.17dev), I replaced a 40 Mb video with a newer version (30Mb).
>>> I am intrigued as to why the following operations are so slow:
>> bzr doesn't know that the files are binary until it extracts them and
>> examines the content. It knows they are different before extracting, but
>> that doesn't help a lot.
> I guess it could shortcut this case by streaming the file out and
> looking at just the start of it.
I could have sworn we did that already. We certainly have the code, in
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar