diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-01-24 00:31:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-31 16:04:36 (GMT) |
commit | 14a13d30eefd657e56022d30d8976cfdfaf9ab06 (patch) | |
tree | 4397b35cf3eec381f6db81e828c8ac28d2a04537 /Source/cmTargetCompileFeaturesCommand.cxx | |
parent | f2b8d67f1946bc59e95d1184f7ad64ac16193466 (diff) | |
download | CMake-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/cmTargetCompileFeaturesCommand.cxx')
0 files changed, 0 insertions, 0 deletions