[Pkg-bazaar-commits] ./bzr/unstable r231: revfile doc

mbp at sourcefrog.net mbp at sourcefrog.net
Fri Apr 10 07:51:29 UTC 2009


------------------------------------------------------------
revno: 231
committer: mbp at sourcefrog.net
timestamp: Sun 2005-04-10 14:19:28 +1000
message:
  revfile doc
modified:
  bzrlib/revfile.py
-------------- next part --------------
=== modified file 'bzrlib/revfile.py'
--- a/bzrlib/revfile.py	2005-04-09 07:04:27 +0000
+++ b/bzrlib/revfile.py	2005-04-10 04:19:28 +0000
@@ -67,6 +67,11 @@
 something faster than difflib, which is after all pure Python.
 Another approach is to just store the gzipped full text of big files,
 though perhaps that's too perverse?
+
+The iter method here will generally read through the whole index file
+in one go.  With readahead in the kernel and python/libc (typically
+128kB) this means that there should be no seeks and often only one
+read() call to get everything into memory.
 """
  
 



More information about the Pkg-bazaar-commits mailing list