/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/knit.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-23 18:43:11 UTC
  • mto: This revision was merged to the branch mainline in revision 4522.
  • Revision ID: john@arbash-meinel.com-20090623184311-6ct5dqziroxkc2rc
using this custom extraction code drops us from 30.5s => 17.6s for annotate NEWS.

It would seem that there are some *severe* inefficiencies for
get_record_stream('topological', True)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3382
3382
        return records
3383
3383
 
3384
3384
    def _get_needed_texts(self, key, pb=None):
 
3385
        # if True or len(self._vf._fallback_vfs) > 0:
3385
3386
        if len(self._vf._fallback_vfs) > 0:
3386
3387
            # If we have fallbacks, go to the generic path
3387
3388
            for v in super(_KnitAnnotator, self)._get_needed_texts(key, pb=pb):