BundleReader, Containers, and file IO

Robert Collins robertc at robertcollins.net
Thu Oct 25 11:34:38 BST 2007


On Thu, 2007-10-25 at 20:13 +1000, Andrew Bennetts wrote:
> Robert Collins wrote:
> [...]
> > > and can simply keep pulling in e.g. 16K chunks (or more if we know
> > > we're reading
> > > a large body).  The logic is simpler, and much faster.  The benchmarks
> > > are all
> > > better than bzr.dev, and the “big_tree” ones are *twice* as fast!  
> > 
> > Packs use containers too; it would be nice to see the impact this has.
> > Is there a branch I can pull, I'll happily run my performance tests to
> > see how it pans out...
> 
> The branch with this is at
> http://people.ubuntu.com/~andrew/bzr/chunked-body/streamable-containers
> 
> It adds a bzrlib.packs.iter_records_from_file function you can use instead of
> ContainerReader(somefile).iter_records().  I'm curious to find out how it goes
> for you!


Packs only use readv; whats the best way to glue these together in your
opinion ?

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071025/abb3160f/attachment.pgp 


More information about the bazaar mailing list