~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_readdir_pyx.pyx

  • Committer: John Arbash Meinel
  • Date: 2009-04-22 22:14:58 UTC
  • mto: This revision was merged to the branch mainline in revision 4301.
  • Revision ID: john@arbash-meinel.com-20090422221458-wg8pwibhdvgvvths
Change self._matching_lines to use a set rather than a list.
We need to consider memory consumption, etc, but it means we don't have
to cast into a set() to do the intersection check.
Might consider redoing the copy_ends code of _get_longest_match.

Show diffs side-by-side

added added

removed removed

Lines of Context: