[RFC] Reduce memory with Key and Keys (and improve performance)

Robert Collins robertc at robertcollins.net
Thu Sep 10 22:20:00 BST 2009


On Thu, 2009-09-10 at 16:01 -0500, John Arbash Meinel wrote:

> Given the 10%-ish memory reduction, and the fairly impressive speed
> improvement, I'm thinking it is probably worth investigating this further.

I'm very much in favour of investigating this further.

I think it would be good to complete a transition to a single large
keyspace in the future, e.g. ('texts', fileid, revid). This would
further drive memory overhead with tuple (or object) keys.

We could look at using real objects in the pure python version; and
being able to add methods, or having key/keys pun with tuples. I don't
have a deep opinion, other than to say that objects are nice.

-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/20090910/b6333a28/attachment.pgp 


More information about the bazaar mailing list