[MERGE] knit performance improvements
Robert Collins
robertc at robertcollins.net
Mon Apr 3 01:13:43 BST 2006
This patch makes knits more performant in a number of ways.
It contains:
* A tweak to missing that I commited in here by mistake which defers
taking write locks unless needed.
(I'll update that to not conflict with Aarons patch if his has been
merged).
* Various microoptimisations to knit and gzip - reducing function call
counts in inner loops, reducing double-handling of data, increasing
knit header parsing performance, removing 'list.index' calls
completely etc.
* changes the data format of knits to remove an extraneous \n in the
compressed content data, which lets it be trivially pulled into
memory in a single 'readlines()' call.
* changes the knit repository to use unannotated knits for inventory,
revisions, and signatures. Also turns off delta-compression for
revisions and signatures.
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: knit-performance.patch
Type: text/x-patch
Size: 24152 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060403/73c6ecc6/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/20060403/73c6ecc6/attachment.pgp
More information about the bazaar
mailing list