Descriptiongyp: fix O(n^2) in dependency calculations.
With 1000 targets an O(n^2) in the dependency management starts to be
noticed. This patch takes a 0.2s function to 0.02s. The function is not
parallelized so this is a true 1% speedup.
Also commented on another *potential* performance problem with very
specific dependency graphs.
BUG=362075
1898
Patch Set 1 #
Total comments: 2
Patch Set 2 : flat_set: Now with comment #Messages
Total messages: 4 (0 generated)
|