Perf: speed up task --list on projects with many includes
#2819
+179
−17
task --list on projects with many includes
#2819