knit performance 1

Robert Collins robertc at robertcollins.net
Wed Mar 8 14:13:28 GMT 2006


This is a knit performance improvement patch:

 * optimised weave-weave joins of empty target weaves
 * partially optimised weave-knit joins of empty target knits
 * ghost aware knits
 * massive reduction in ghost revision object traversals in favour of
revision graph traversals.
 * corrects an idiotic error I made that lead to ~quadratic  behaviour
during common_ancestor selection
 * reduces the revision-reads to a worst case of 2 during a diff -r
ancestor:PATH operation, I'll work on making that zero tomorrow.

This should reduce the somewhat insane performance of diff, merge,
branch at the moment.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knit-performance-1.patch
Type: text/x-patch
Size: 71837 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060309/5c7b21b9/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060309/5c7b21b9/attachment.pgp 


More information about the bazaar mailing list