gremlin/gremlin.in: Walk the various output trees concurrently.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 13 Feb 2016 21:48:19 +0000 (21:48 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 14 Feb 2016 02:09:45 +0000 (02:09 +0000)
commite0361afb9da7256a2ab7a652a1a8f520ad0d0ae8
tree1dec9c670df94a22fff0d4820274794362a7ade1
parent5379ab856eb520a63a3317731bdd73a87ae9ac80
gremlin/gremlin.in: Walk the various output trees concurrently.

Rather than doing them one after the other.  This makes the progress
report rather more helpful, and may even make things slightly faster.

The change isn't as complicated as the diff makes it look.  The Grobbler
class has been replaced with a function, with its methods now nested
functions within it, which actually makes calling it slightly simpler.
Another simplification is that the function takes `TargetJob' objects
rather than directory names, simply because they're a convenient way to
bundle the directory names with their conversion policies.  But this
means that the function has been sunk beneath the various auxiliary
class definitions used by the top-level config parser, and Git diff
makes a mess of this.
gremlin/gremlin.in