[MERGE] Implement and use Repository.iter_files_bytes

Aaron Bentley aaron.bentley at utoronto.ca
Thu Aug 16 12:58:29 BST 2007


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

Hi all,

This bundle implements a new interface for getting file contents:

Tree and Repository.iter_files_bytes.

It will be highly efficient on pack repos, requiring a single readv to
extract all desired texts.  This should greatly improve build_tree
performance.  It currently is a negligible improvement for knits.

This patch also changes build_tree and revert to use Tree.iter_files_bytes.

I propose merging this now, to reduce code divergence between Robert's
branch and the mainline.

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

iD8DBQFGxDvk0F+nu1YWqI0RAk0CAJ4jOoOjR1JLdUCG4StgU24FP8qW+ACfYCDZ
mIrJHsvSWXGBcDCjXAP/6zs=
=QOsZ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-by-WTs.patch
Type: text/x-patch
Size: 20714 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070816/090fe207/attachment.bin 


More information about the bazaar mailing list