tg.sh: accelerate find_leaves a bit
commit9b5e7e597908de0238293be4cb22444c8c95c5ea
authorKyle J. McKay <mackyle@gmail.com>
Wed, 29 Mar 2017 20:43:52 +0000 (29 13:43 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 29 Mar 2017 20:43:52 +0000 (29 13:43 -0700)
treea88a04078b7246ffe27dd1ec70d352b76645a79d
parentd6bfca63648013ca901f226b4eca42323079ee60
tg.sh: accelerate find_leaves a bit

Most of the acceleration already happened for it when
recurse_deps_internal was accelerated.  However, there
are some new options now available that can reduce the
amount of output that needs to be processed.

Make use of them to squeeze out just a little bit better
performance.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
tg.sh