Minor perf fix but it should improve it significantly.
Minor perf fix but it should improve it significantly.

dzch/taskgraph,plutoshe/taskgraph,taskgraph/taskgraph,kod3r/taskgraph,BaiGang/taskgraph,taskgraph/taskgraph,fengjingchao/taskgraph,plutoshe/taskgraph,dzch/taskgraph,5kg/taskgraph,BaiGang/taskgraph,5kg/taskgraph,kod3r/taskgraph,fengjingchao/taskgraph