##// END OF EJS Templates
revset: optimize for destination() being "inefficient"...
Mads Kiilerich -
r30205:b4074417 default
parent child Browse files
Show More
@@ -2595,7 +2595,7 b' def _optimize(x, small):'
2595 f = getsymbol(x[1])
2595 f = getsymbol(x[1])
2596 wa, ta = _optimize(x[2], small)
2596 wa, ta = _optimize(x[2], small)
2597 if f in ('author', 'branch', 'closed', 'date', 'desc', 'file', 'grep',
2597 if f in ('author', 'branch', 'closed', 'date', 'desc', 'file', 'grep',
2598 'keyword', 'outgoing', 'user'):
2598 'keyword', 'outgoing', 'user', 'destination'):
2599 w = 10 # slow
2599 w = 10 # slow
2600 elif f in ('modifies', 'adds', 'removes'):
2600 elif f in ('modifies', 'adds', 'removes'):
2601 w = 30 # slower
2601 w = 30 # slower
General Comments 0
You need to be logged in to leave comments. Login now