revset: categorize wdir() as very fast function
The cost of wdir() should be identical to or cheaper than _intlist().
--- a/mercurial/revset.py Sat May 23 11:04:11 2015 +0900
+++ b/mercurial/revset.py Sat Aug 20 17:50:23 2016 +0900
@@ -2606,7 +2606,7 @@
w = 100 # very slow
elif f == "ancestor":
w = 1 * smallbonus
- elif f in ('reverse', 'limit', 'first', '_intlist'):
+ elif f in ('reverse', 'limit', 'first', 'wdir', '_intlist'):
w = 0
elif f == "sort":
w = 10 # assume most sorts look at changelog