diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-06-01 12:30:58 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-03 20:37:27 +0300 |
commit | 5465fc5e28e0435945e869a322a6fa66ed4cb070 (patch) | |
tree | e0d3014293d4c22da5e2eaaaac6d65de937dfae5 /mesonbuild/mintro.py | |
parent | d6407445b9aabfa90b23ef1da6b0e903b4e6b9e0 (diff) | |
download | meson-5465fc5e28e0435945e869a322a6fa66ed4cb070.zip meson-5465fc5e28e0435945e869a322a6fa66ed4cb070.tar.gz meson-5465fc5e28e0435945e869a322a6fa66ed4cb070.tar.bz2 |
ninjabackend: refactor _generate_single_compile
when we are generating the include directories for a build target, then
we are iterating over all include directories, check if they are . or ..
and if not, generate a compile args object for it. However, the join
calls and the generation of the compile object is quite expensive, if we
cache the results of this, then we can _generate_single_compile from 60%
to roughly 50%.
Diffstat (limited to 'mesonbuild/mintro.py')
0 files changed, 0 insertions, 0 deletions