Commit d3dc893
Jesús Gómez
Reorder conditions of
1. Asking for a setting option is less expensive than tree transversal on dependant tasks.
2. `out_of_date?` should care about "date" concepts, and not concerning about "build_all" option.
Reordering allows us to remove the "build_all" check in the out_of_date, achieving the quality statement in the second item of the previous list.
Suddenly, there is no need to make a distinction between FileTask or other tasks.needed?
1 parent 73a2116 commit d3dc893
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 39 | + | |
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
| |||
0 commit comments