~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-18 06:11:59 UTC
  • mfrom: (4454.2.2 1.17-extract-one-time)
  • Revision ID: pqm@pqm.ubuntu.com-20090618061159-nwe8eie5p489xqss
(jam) Remove a spurious call to _get_raw_record,
        speeds up get_record_stream(..., True)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2005
2005
                missing_keys.remove(record.key)
2006
2006
                yield record
2007
2007
 
2008
 
        self._raw_record_map = self.vf._get_record_map_unparsed(self.keys,
2009
 
            allow_missing=True)
 
2008
        if self._raw_record_map is None:
 
2009
            raise AssertionError('_raw_record_map should have been filled')
2010
2010
        first = True
2011
2011
        for key in self.keys:
2012
2012
            if key in self.nonlocal_keys: