RFC: centralise registries

Robert Collins robertc at robertcollins.net
Tue Apr 14 05:08:15 BST 2009


So at the moment our registries are distributed across the code base.
This is good for locality of content.

But sadly, it means that a plugin extending (say)
bzrlib.tests.parallel_registry, has to load the bzrlib.tests module, and
this module isn't the cheapest.

We could make all the modules that have registries cheap to load, or we
could move all the registries to bzrlib.registry, which is easier to do
as we don't need to deal with subclasses or other such things happening
there.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090414/57b93e21/attachment.pgp 


More information about the bazaar mailing list