equal
deleted
inserted
replaced
668 # try to use our own fast iterator if it exists |
668 # try to use our own fast iterator if it exists |
669 self._trysetasclist() |
669 self._trysetasclist() |
670 if self._ascending: |
670 if self._ascending: |
671 attr = 'fastasc' |
671 attr = 'fastasc' |
672 else: |
672 else: |
673 attr = b'fastdesc' |
673 attr = 'fastdesc' |
674 it = getattr(self, attr) |
674 it = getattr(self, attr) |
675 if it is not None: |
675 if it is not None: |
676 return it() |
676 return it() |
677 # maybe half of the component supports fast |
677 # maybe half of the component supports fast |
678 # get iterator for _r1 |
678 # get iterator for _r1 |