comparison hgext/strip.py @ 32821:9b7d615108d7

smartset: micro optimize spanset.slice() to narrow range accordingly -1ms isn't significant, but seems not bad. revset #0: limit(0:9999, 100, 9000) 6) 0.001145 7) 0.000214 revset #3: last(0:9999, 100) 6) 0.000197 7) 0.000171
author Yuya Nishihara <yuya@tcha.org>
date Fri, 10 Apr 2015 00:14:16 +0900
parents 46ba2cdda476
children 799db2af824c
comparison
equal deleted inserted replaced
32820:653d60455dbe 32821:9b7d615108d7