[MERGE REVIEW] Performance tweak for TreeTransform

Aaron Bentley aaron.bentley at utoronto.ca
Wed May 24 22:44:00 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I've done some profiling of TreeTransform (through the bzrtools import
command) and found that TreeTransform.canonical_path was taking a lot of
time.  This patch speeds up canonical_path by a factor of 10, which
increases overall import speed by 1/4 - 1/3.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEdNOg0F+nu1YWqI0RAjIDAJ9vz0c6KQEUrcKL/Eh5sxYnq6jMuQCeIGW9
7ec3cU+UoDW4mKOvgQVsFSk=
=nIAV
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ttperf.patch
Type: text/x-patch
Size: 2279 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060524/c7572bc5/attachment.bin 


More information about the bazaar mailing list