dirstate: use quicker matchfn() instead of match() everywhere
matchfn does the same as match(), but a direct "link"
--- a/mercurial/dirstate.py Tue May 19 15:10:45 2009 +0200
+++ b/mercurial/dirstate.py Thu May 14 19:47:52 2009 +0200
@@ -533,7 +533,7 @@
results[nf] = None
# step 3: report unseen items in the dmap hash
- visit = sorted([f for f in dmap if f not in results and match(f)])
+ visit = sorted([f for f in dmap if f not in results and matchfn(f)])
for nf, st in zip(visit, util.statfiles([join(i) for i in visit])):
if not st is None and not getkind(st.st_mode) in (regkind, lnkkind):
st = None