[MERGE] Implement hard-link support for branch and checkout

Aaron Bentley aaron.bentley at utoronto.ca
Thu Dec 20 21:17:20 GMT 2007


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

Hi all,

This patch implements hard-link support for branch and checkout,
building on my previous accelerator_tree work.

The primary advantage of this is space savings, not speed.  But using
hardlinks is 1.19 x as fast:

branch --no-hardlink (best of 4)
real    0m0.989s
user    0m0.748s
sys     0m0.212s

branch --hardlink (best of 4)
real    0m0.828s
user    0m0.656s
sys     0m0.152s

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

iD8DBQFHatvg0F+nu1YWqI0RAralAJ9x2qAwR9uOvZowv1W68mqpJG+YdgCggZkH
qnEqgZqaXm4Gh2bCD68Lduw=
=lEss
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hardlinks.patch
Type: text/x-patch
Size: 34193 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071220/a8a52737/attachment-0001.bin 


More information about the bazaar mailing list