summaryrefslogtreecommitdiffstats
path: root/Source/cmSetPropertyCommand.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2018-01-24 00:31:17 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-31 16:04:36 (GMT)
commit14a13d30eefd657e56022d30d8976cfdfaf9ab06 (patch)
tree4397b35cf3eec381f6db81e828c8ac28d2a04537 /Source/cmSetPropertyCommand.h
parentf2b8d67f1946bc59e95d1184f7ad64ac16193466 (diff)
downloadCMake-14a13d30eefd657e56022d30d8976cfdfaf9ab06.zip
CMake-14a13d30eefd657e56022d30d8976cfdfaf9ab06.tar.gz
CMake-14a13d30eefd657e56022d30d8976cfdfaf9ab06.tar.bz2
cmGeneratorExpressionLexer: only tokenize strings with a '$'
In standard libraries, `std::string::find` is usually implemented using vectorized code. Since the Tokenize method iterates character-by-character, doing an initial check using `find` improves performance.
Diffstat (limited to 'Source/cmSetPropertyCommand.h')
0 files changed, 0 insertions, 0 deletions