• Brad King's avatar
    Fix internal target lookup performance regression · 6cbf6a51
    Brad King authored
    Refactoring in commit v3.5.0-rc1~272^2~13 (cmGlobalGenerator: Remove
    direct storage of targets, 2015-10-25) replaced an efficient data
    structure mapping from target name to cmTarget instance with a linear
    search.  Lookups through cmGlobalGenerator::FindTarget are done a lot.
    Restore the efficient mapping structure with a name indicating its
    Reported-by: Bartosz's avatarBartosz Kosiorek <gang65@poczta.onet.pl>
cmGlobalGenerator.h 20 KB