~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revfile.py

  • Committer: mbp at sourcefrog
  • Date: 2005-04-10 04:19:28 UTC
  • Revision ID: mbp@sourcefrog.net-20050410041928-0619fb995df43d22d21313c6
revfile doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
something faster than difflib, which is after all pure Python.
68
68
Another approach is to just store the gzipped full text of big files,
69
69
though perhaps that's too perverse?
 
70
 
 
71
The iter method here will generally read through the whole index file
 
72
in one go.  With readahead in the kernel and python/libc (typically
 
73
128kB) this means that there should be no seeks and often only one
 
74
read() call to get everything into memory.
70
75
"""
71
76
 
72
77