At http://bzr.arbash-meinel.com/branches/bzr/brisbane/debug_hacks
------------------------------------------------------------
revno: 3806
revision-id: [email protected]
parent: [email protected]
committer: John Arbash Meinel <[email protected]>
branch nick: debug_hacks
timestamp: Tue 2008-12-23 11:09:18 -0600
message:
Bring back the xml non-copy caching.
=== modified file 'bzrlib/xml8.py'
--- a/bzrlib/xml8.py 2008-12-13 03:19:40 +0000
+++ b/bzrlib/xml8.py 2008-12-23 17:09:18 +0000
@@ -428,10 +428,10 @@
pass
else:
# Only copying directory entries drops us 2.85s => 2.35s
- # if cached_ie.kind == 'directory':
- # return cached_ie.copy()
- # return cached_ie
- return cached_ie.copy()
+ if cached_ie.kind == 'directory':
+ return cached_ie.copy()
+ return cached_ie
+ # return cached_ie.copy()
kind = elt.tag
if not InventoryEntry.versionable_kind(kind):
--
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits