##// END OF EJS Templates
revset: teach optimizer that closed is slowish
Matt Mackall -
r13873:02c3d4d4 default
parent child Browse files
Show More
@@ -808,7 +808,7 b' def optimize(x, small):'
808 elif op == 'func':
808 elif op == 'func':
809 f = getstring(x[1], _("not a symbol"))
809 f = getstring(x[1], _("not a symbol"))
810 wa, ta = optimize(x[2], small)
810 wa, ta = optimize(x[2], small)
811 if f in "grep date user author keyword branch file outgoing":
811 if f in "grep date user author keyword branch file outgoing closed":
812 w = 10 # slow
812 w = 10 # slow
813 elif f in "modifies adds removes":
813 elif f in "modifies adds removes":
814 w = 30 # slower
814 w = 30 # slower
General Comments 0
You need to be logged in to leave comments. Login now