Rev 4769: NEWS update now that StaticTuple can point at more stuff. in http://bazaar.launchpad.net/~jameinel/bzr/2.1-st-concat

John Arbash Meinel john at arbash-meinel.com
Wed Oct 21 06:05:25 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.1-st-concat

------------------------------------------------------------
revno: 4769
revision-id: john at arbash-meinel.com-20091021050510-ebs9d922icfovrxl
parent: john at arbash-meinel.com-20091021050235-6m79io53pe18dd0m
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1-st-concat
timestamp: Wed 2009-10-21 00:05:10 -0500
message:
  NEWS update now that StaticTuple can point at more stuff.
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2009-10-17 04:43:14 +0000
+++ b/NEWS	2009-10-21 05:05:10 +0000
@@ -60,12 +60,13 @@
 
 * ``bzrlib._static_tuple_pyx.StaticTuple`` is now available and used by
   the btree index parser. This class functions similarly to ``tuple``
-  objects. However, it can only point at other ``StaticTuple`` instances
-  or strings. This allows us to remove it from the garbage collector (it
-  cannot be in a cycle), it also allows us to intern the objects. In
-  testing, this can reduce peak memory by 20-40%, and significantly
-  improve performance by removing objects from being inspected by the
-  garbage collector. (John Arbash Meinel)
+  objects. However, it can only point to a limited collection of types.
+  (Currently StaticTuple, str, unicode, None, bool, int, long, float).
+  This allows us to remove it from the garbage collector (it cannot be in
+  a cycle), it also allows us to intern the objects. In testing, this can
+  reduce peak memory by 20-40%, and significantly improve performance by
+  removing objects from being inspected by the garbage collector.
+  (John Arbash Meinel)
 
 * ``GroupCompressBlock._ensure_content()`` will now release the
   ``zlib.decompressobj()`` when the first request is for all of the



More information about the bazaar-commits mailing list