##// END OF EJS Templates
revset: categorize wdir() as very fast function...
Yuya Nishihara -
r30700:323f0c4b default
parent child Browse files
Show More
@@ -2606,7 +2606,7 def _optimize(x, small):
2606 w = 100 # very slow
2606 w = 100 # very slow
2607 elif f == "ancestor":
2607 elif f == "ancestor":
2608 w = 1 * smallbonus
2608 w = 1 * smallbonus
2609 elif f in ('reverse', 'limit', 'first', '_intlist'):
2609 elif f in ('reverse', 'limit', 'first', 'wdir', '_intlist'):
2610 w = 0
2610 w = 0
2611 elif f == "sort":
2611 elif f == "sort":
2612 w = 10 # assume most sorts look at changelog
2612 w = 10 # assume most sorts look at changelog
General Comments 0
You need to be logged in to leave comments. Login now