Skip to content
  • Frank Winklmeier's avatar
    cmLocalGenerator: change ImportedGeneratorTargets from vector to map · aed227fd
    Frank Winklmeier authored and Brad King's avatar Brad King committed
    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).
    aed227fd