~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/index.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-10 19:56:16 UTC
  • mto: (4371.4.5 vila-better-heads)
  • mto: This revision was merged to the branch mainline in revision 4449.
  • Revision ID: john@arbash-meinel.com-20090610195616-alggpr46n0bmjjhf
Get an initial pyrex implementation.

Initial results show it to actually be slightly slower than pure python.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1192
1192
                ', '.join(map(repr, self._indices)))
1193
1193
 
1194
1194
    def get_parent_map(self, keys):
1195
 
        """See graph._StackedParentsProvider.get_parent_map"""
 
1195
        """See graph.StackedParentsProvider.get_parent_map"""
1196
1196
        search_keys = set(keys)
1197
1197
        if NULL_REVISION in search_keys:
1198
1198
            search_keys.discard(NULL_REVISION)