~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-10-26 15:59:54 UTC
  • mfrom: (4679.9.25 2.1-static-tuple-chk-map)
  • Revision ID: pqm@pqm.ubuntu.com-20091026155954-r9gw2rizkikw7cg7
(jam) Start using StaticTuple as part of the chk_map code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
  (John Arbash Meinel)
47
47
 
48
48
* Peak memory under certain operations has been reduced significantly.
 
49
  (eg, 'bzr branch launchpad standalone' is cut in half)
49
50
  (John Arbash Meinel)
50
51
 
51
52
Documentation
74
75
  (John Arbash Meinel)
75
76
 
76
77
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
77
 
  the btree index parser. This class functions similarly to ``tuple``
78
 
  objects. However, it can only point to a limited collection of types.
79
 
  (Currently StaticTuple, str, unicode, None, bool, int, long, float, and
80
 
  not subclasses).  This allows us to remove it from the garbage collector
81
 
  (it cannot be in a cycle), it also allows us to intern the objects. In
82
 
  testing, this can reduce peak memory by 20-40%, and significantly
83
 
  improve performance by removing objects from being inspected by the
84
 
  garbage collector.  (John Arbash Meinel)
 
78
  the btree index parser and the chk map parser. This class functions
 
79
  similarly to ``tuple`` objects. However, it can only point to a limited
 
80
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
 
81
  int, long, float, but not subclasses).  This allows us to remove it from
 
82
  the garbage collector (it cannot be in a cycle), it also allows us to
 
83
  intern the objects. In testing, this can reduce peak memory by 20-40%,
 
84
  and significantly improve performance by removing objects from being
 
85
  inspected by the garbage collector.  (John Arbash Meinel)
85
86
 
86
87
* ``GroupCompressBlock._ensure_content()`` will now release the
87
88
  ``zlib.decompressobj()`` when the first request is for all of the