Skip to content
Snippets Groups Projects
Commit 6cbf6a51 authored by Brad King's avatar Brad King
Browse files

Fix internal target lookup performance regression


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
purpose.

Reported-by: default avatarBartosz Kosiorek <gang65@poczta.onet.pl>
parent a5a5a685
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment