• Frank Winklmeier's avatar
    cmLocalGenerator: change ImportedGeneratorTargets from vector to map · aed227fd
    Frank Winklmeier authored
    For large number of targets significant amount of time is spent in
    cmLocalGenerator::FindGeneratorTargetToUse, which uses find_if on a
    vector to locate the given target. Using a map instead of vector for
    ImportedGeneratorTargets (as done for cmMakefile::ImportedTargets)
    provides a significant speedup (up to factor of 2).
cmLocalGenerator.cxx 90.2 KB