diff options
author | Bruce Richardson <bruce.richardson@intel.com> | 2018-04-12 21:20:20 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-04-13 01:03:59 +0000 |
commit | c213d715ebb594c52425d361409aa28d13b77d9a (patch) | |
tree | d29857cf213cbc1d8bf1a63568662019bb20f173 /mesonbuild/compilers/compilers.py | |
parent | c04862e24c94000a4e8a7b9c1012178b3b6195d8 (diff) | |
download | meson-c213d715ebb594c52425d361409aa28d13b77d9a.zip meson-c213d715ebb594c52425d361409aa28d13b77d9a.tar.gz meson-c213d715ebb594c52425d361409aa28d13b77d9a.tar.bz2 |
Prune unneeded transitive dependencies
When getting dependencies, we don't need to get the same dependencies and
dependency chains multiple times. If library a depends on x, y and z, and
library b depends on a, then we should not have to iterate through x, y and
z multiple times. Pruning at the stage of scanning the dependencies leads
to significant time savings when running meson
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions