##// END OF EJS Templates
revset: document the choice made in __generatorset.__iter__...
Pierre-Yves David -
r22494:14f6cebf default
parent child Browse files
Show More
@@ -2648,6 +2648,12 b' class _generatorset(object):'
2648 yield x
2648 yield x
2649 return
2649 return
2650
2650
2651 # We have to use this complex iteration strategy to allow multiple
2652 # iterations at the same time. We need to be able to catch revision
2653 # removed from `consumegen` and added to genlist in another instance.
2654 #
2655 # Getting rid of it would provide an about 15% speed up on this
2656 # iteration.
2651 i = 0
2657 i = 0
2652 genlist = self._genlist
2658 genlist = self._genlist
2653 consume = self._consumegen()
2659 consume = self._consumegen()
General Comments 0
You need to be logged in to leave comments. Login now