Rev 4693: update btree_index for the new Keys api. in http://bazaar.launchpad.net/~jameinel/bzr/2.1-memory-consumption

John Arbash Meinel john at arbash-meinel.com
Thu Sep 10 18:20:21 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.1-memory-consumption

------------------------------------------------------------
revno: 4693
revision-id: john at arbash-meinel.com-20090910172005-sujfxgfq84dar377
parent: john at arbash-meinel.com-20090909213655-rsn8uehkz9bc3yt8
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1-memory-consumption
timestamp: Thu 2009-09-10 12:20:05 -0500
message:
  update btree_index for the new Keys api.
-------------- next part --------------
=== modified file 'bzrlib/_btree_serializer_pyx.pyx'
--- a/bzrlib/_btree_serializer_pyx.pyx	2009-09-09 21:02:51 +0000
+++ b/bzrlib/_btree_serializer_pyx.pyx	2009-09-10 17:20:05 +0000
@@ -253,7 +253,7 @@
                         # key runs to the end
                         temp_ptr = ref_ptr
                     ref_list.extend(self.extract_key(temp_ptr))
-                ref_list = _keys_type_c.Keys(self.key_length, *ref_list)
+                ref_list = _keys_type_c.Keys(self.key_length, 2, *ref_list)
                 PyList_Append(ref_lists, ref_list)
                 # prepare for the next reference list
                 self._start = next_start



More information about the bazaar-commits mailing list