Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:25 -0500] rev 6832
dirstate.walk: inline imatch
This lets us carefully avoid calling ignore and match where possible
in the fast path.
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:24 -0500] rev 6831
dirstate.walk: more cleanups
- group internal functions
- simplify imatch
- rename _join to join
- use nf in step 3
- use .hg in results
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:23 -0500] rev 6830
dirstate.walk: fold in _supported
- inline tests for regular or link files
- simplify bad type reporting
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:21 -0500] rev 6829
dirstate.walk: build a dict rather than yield
Since we're already building a seen dict, we might as well put our
results in it to go slightly faster.
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:20 -0500] rev 6828
dirstate.walk: minor cleanups
- add dirkind
- simplify loop structure
- avoid pconvert and join on directory entries (big speed bump)
- remove redundant seen set in step 3
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:19 -0500] rev 6827
dirstate.walk: push sorting up
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:18 -0500] rev 6826
dirstate.walk: pull directory scanning into top-level loop
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:17 -0500] rev 6825
dirstate.walk: unify match.dir logic