[MERGE] Optimize single-file diff/revert/etc
John Arbash Meinel
john at arbash-meinel.com
Thu Jan 11 18:19:14 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley wrote:
> John Arbash Meinel wrote:
>>> Aaron Bentley wrote:
>>>
...
>>>>> It tweaks iter_entries_by_dir to avoid walking portions of the tree that
>>>>> are not ancestors of specified files. It does not return entries for
>>>>> unspecified files. This is more complicated than just returning the
>>>>> specified entries, but it ensures that ordering requirements are met.
...
What I would love to see is the ability to push this sort of the all the
way down to the XML parsing layer, so it wouldn't have to create
InventoryEntry objects for anything but the necessary paths.... But now
is not the time for that. :)
Have you done any performance testing to see if this actually makes a
difference? It seems like it should, but I wonder if it is a large
difference.
I'm going to do a little performance testing on the Mozilla source tree
(not a full conversion, just a single snapshot), I'll let you know what
I find.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFpn+iJdeBCYSNAAMRArHWAJ95E7SLjhoetLEroOpobfWynvuOVwCfVPwg
jwyTs0Ylegii3htbl3lKcrU=
=Bh3d
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list