~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: James Westby
  • Date: 2008-12-05 20:45:02 UTC
  • mto: (247.1.5 memfixes)
  • mto: This revision was merged to the branch mainline in revision 252.
  • Revision ID: jw+debian@jameswestby.net-20081205204502-yz34bxv5h3ys10v7
Chunk the requests to get_parent_map when finding which revisions touch a file.

bzrlib.log._filter_revisions_touching_file_id suggests that chunking the
requests to get_parent_map is a big win for GraphIndex. We steal the code
from there to do this as it it does some extra things that we don't need.

As the comment in that function says the characteristics will change with
different index formats, so a more robust solutions should be sought.

Show diffs side-by-side

added added

removed removed

Lines of Context: