> > It won't matter for funcs. The edge (Root, f) can only be added once, if > > f is unreachable (or if f is main). > > It might matter, since you are doing a lookup on root's edge list, which could > be long. Even 50 traversals of a 50k element list is noticeable. Ahh. Maybe you meant you could drop the lookup without the flag. That makes sense.