At http://bazaar.launchpad.net/%7Ebzr/bzr/brisbane-core

------------------------------------------------------------
revno: 3804
revision-id: [email protected]
parent: [email protected]
committer: John Arbash Meinel <[email protected]>
branch nick: brisbane-core
timestamp: Fri 2008-12-12 15:50:41 -0600
message:
  Add a TODO about avoiding all of the get_record_stream calls.
=== modified file 'bzrlib/chk_map.py'
--- a/bzrlib/chk_map.py 2008-12-12 21:46:14 +0000
+++ b/bzrlib/chk_map.py 2008-12-12 21:50:41 +0000
@@ -1130,6 +1130,10 @@
     """
     # TODO: consider that it may be more memory efficient to use the 20-byte
     #       sha1 string, rather than tuples of hexidecimal sha1 strings.
+    # TODO: Try to factor out a lot of the get_record_stream() calls into a
+    #       helper function similar to _read_bytes. This function should be
+    #       able to use nodes from the _page_cache as well as actually
+    #       requesting bytes from the store.
 
     # A way to adapt from the compressed texts back into fulltexts
     # In a way, this seems like a layering inversion to have CHKMap know the

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to