[RFC] Out of memory during BzrDir.find_branches

Aaron Bentley aaron at aaronbentley.com
Mon Apr 21 14:22:57 BST 2008


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

Andrew Bennetts wrote:
> Aaron Bentley wrote:
> A lazy iterator is better regardless of the memory bug, because it starts giving
> results much faster.

But again, this is sidestepping a bug; transport operations on the local
filesystem are much, much slower than they ought to be.

"find" in my bzr repo completes in 0.240s.  "bzr branches" completes in
2.637s.  That's with hot cache for both commands.

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

iD8DBQFIDJUx0F+nu1YWqI0RAogwAJ93fqRWhbr4YoJL3M8h37FvfBfVegCeOB2I
P21NZ+o94TTn2j8q4ldAk/k=
=fWWs
-----END PGP SIGNATURE-----



More information about the bazaar mailing list