~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/index.py

  • Committer: Robert Collins
  • Date: 2007-10-15 07:56:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2908.
  • Revision ID: robertc@robertcollins.net-20071015075604-ouspx8c4xwe04llz
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
459
459
            return self._iter_entries_from_total_buffer(keys)
460
460
        else:
461
461
            return (result[1] for result in bisect_multi_bytes(
462
 
                self.lookup_keys_via_location, self._size, keys))
 
462
                self._lookup_keys_via_location, self._size, keys))
463
463
 
464
464
    def iter_entries_prefix(self, keys):
465
465
        """Iterate over keys within the index using prefix matching.
548
548
            self._buffer_all()
549
549
        return self._key_count
550
550
 
551
 
    def lookup_keys_via_location(self, location_keys):
 
551
    def _lookup_keys_via_location(self, location_keys):
552
552
        """Public interface for implementing bisection.
553
553
 
554
554
        If _buffer_all has been called, then all the data for the index is in