/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: John Arbash Meinel
  • Date: 2008-09-21 14:01:24 UTC
  • mto: This revision was merged to the branch mainline in revision 3735.
  • Revision ID: john@arbash-meinel.com-20080921140124-kvoi3sdig2owjukf
Add a TODO discussing how our index requests should evolve.

Show diffs side-by-side

added added

removed removed

Lines of Context:
565
565
    # Looking up keys in batches of 1000 can cut the time in half, as well as
566
566
    # memory consumption. GraphIndex *does* like to look for a few keys in
567
567
    # parallel, it just doesn't like looking for *lots* of keys in parallel.
 
568
    # TODO: This code needs to be re-evaluated periodically as we tune the
 
569
    #       indexing layer. We might consider passing in hints as to the known
 
570
    #       access pattern (sparse/clustered, high success rate/low success
 
571
    #       rate). This particular access is clustered with a low success rate.
568
572
    get_parent_map = branch.repository.texts.get_parent_map
569
573
    modified_text_revisions = set()
570
574
    chunk_size = 1000