bzrlib importing too much
robertc at robertcollins.net
Thu May 18 23:59:22 BST 2006
On Thu, 2006-05-18 at 16:07 -0500, John Arbash Meinel wrote:
> While playing around with the demandload code, I found that a lot of the
> bzrlib files are importing a lot of things they don't use.
> like bzrlib.branch imports lots of 'osutils' functions but only uses
> I think this is a leftover from when WorkingTree was part of Branch. I
> think it would be reasonable to go through and remove a lot of this
> cruft. I'm playing around with a demandload branch, available from:
> So far, there hasn't been a whole lot of performance improvement, but
> I've only updated a few files.
pyflakes will warn of unneeded imports. It gets false positives
occasionally but its generally quite good.
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060519/ac9970d8/attachment.pgp
More information about the bazaar