~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/serializer/v4.py

  • Committer: John Arbash Meinel
  • Date: 2009-08-04 14:08:32 UTC
  • mto: This revision was merged to the branch mainline in revision 4588.
  • Revision ID: john@arbash-meinel.com-20090804140832-jkvjywo1xqn132cw
A few more tiny tweaks to comments, etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
666
666
        # be >5MB). Another possibility is to cache 10-20 inventory texts
667
667
        # instead
668
668
        inventory_text_cache = lru_cache.LRUSizeCache(10*1024*1024)
 
669
        # Also cache the in-memory representation. This allows us to create
 
670
        # inventory deltas to apply rather than calling add_inventory from
 
671
        # scratch each time.
669
672
        inventory_cache = lru_cache.LRUCache(10)
670
673
        pb = ui.ui_factory.nested_progress_bar()
671
674
        try: