74
75
(John Arbash Meinel)
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)
86
87
* ``GroupCompressBlock._ensure_content()`` will now release the
87
88
``zlib.decompressobj()`` when the first request is for all of the