At http://bzr.arbash-meinel.com/branches/bzr/1.11/xml_cache
------------------------------------------------------------
revno: 3896
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: xml_cache
timestamp: Wed 2008-12-10 17:06:00 -0600
message:
Release inventory xml strings that we've already processed.
This doesn't decrease our peak memory consumption, but at least it decreases
it
a little bit over time.
=== modified file 'bzrlib/repository.py'
--- a/bzrlib/repository.py 2008-12-10 04:34:21 +0000
+++ b/bzrlib/repository.py 2008-12-10 23:06:00 +0000
@@ -1687,7 +1687,7 @@
else:
raise errors.NoSuchRevision(self, record.key)
for key in keys:
- yield texts[key], key[-1]
+ yield texts.pop(key), key[-1]
def deserialise_inventory(self, revision_id, xml):
"""Transform the xml into an inventory object.
--
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits