summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallScriptGenerator.cxx
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2016-04-20 20:40:58 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2016-04-20 21:33:17 (GMT)
commit068358e1edd4ed0c19a40f3be16edb64123f45ee (patch)
tree2fa1f1425a75baf2024ef1829c3ad3d0dbf58f9f /Source/cmInstallScriptGenerator.cxx
parent484958b781dcfaf12a29a5c916277fc7d4b01fbd (diff)
downloadCMake-068358e1edd4ed0c19a40f3be16edb64123f45ee.zip
CMake-068358e1edd4ed0c19a40f3be16edb64123f45ee.tar.gz
CMake-068358e1edd4ed0c19a40f3be16edb64123f45ee.tar.bz2
cmMakefile::AddCacheDefinition: avoid conversions between char* and string
Running the testsuite this function is entered more than 126,000 times. Reorder the code flow so that a conversion from char* to std::string is only done when the cache entry is a path one, which happens only ~50 times during the testsuite.
Diffstat (limited to 'Source/cmInstallScriptGenerator.cxx')
0 files changed, 0 insertions, 0 deletions