Rev 4564: A few more tiny tweaks to comments, etc. in http://bazaar.launchpad.net/~jameinel/bzr/1.18-2a-bundle-performance

John Arbash Meinel john at arbash-meinel.com
Tue Aug 4 15:08:59 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/1.18-2a-bundle-performance

------------------------------------------------------------
revno: 4564
revision-id: john at arbash-meinel.com-20090804140832-jkvjywo1xqn132cw
parent: john at arbash-meinel.com-20090804135008-u86i3o3nwkp1axh6
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 1.18-2a-bundle-performance
timestamp: Tue 2009-08-04 09:08:32 -0500
message:
  A few more tiny tweaks to comments, etc.
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2009-08-04 13:50:08 +0000
+++ b/NEWS	2009-08-04 14:08:32 +0000
@@ -41,7 +41,7 @@
 
 * Fixed spurious "Source branch does not support stacking" warning when
   pushing. (Andrew Bennetts, #388908)
-  
+
 * ``WorkingTree4.unversion`` will no longer fail to unversion ids which
   were present in a parent tree but renamed in the working tree.
   (Robert Collins, #187207)

=== modified file 'bzrlib/bundle/serializer/v4.py'
--- a/bzrlib/bundle/serializer/v4.py	2009-08-04 13:50:08 +0000
+++ b/bzrlib/bundle/serializer/v4.py	2009-08-04 14:08:32 +0000
@@ -666,6 +666,9 @@
         # be >5MB). Another possibility is to cache 10-20 inventory texts
         # instead
         inventory_text_cache = lru_cache.LRUSizeCache(10*1024*1024)
+        # Also cache the in-memory representation. This allows us to create
+        # inventory deltas to apply rather than calling add_inventory from
+        # scratch each time.
         inventory_cache = lru_cache.LRUCache(10)
         pb = ui.ui_factory.nested_progress_bar()
         try:



More information about the bazaar-commits mailing list