diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-09-19 10:01:45 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-09-19 10:01:45 +0000 |
commit | 461c87655b89fd44604bf705b68e7541d2b721a7 (patch) | |
tree | c17bdc3d15b8ac3f2d090ddac467a98d6ff4c64d /lib/Support/StringRef.cpp | |
parent | ce31910eae5bd4896fa6c27798e7b26885691d3b (diff) |
Try to speed up the slowest parts of the CommandLine library
- Replace std::map<std::string with StringMap
- Eliminate unnecessary std::string copies
- ~10% speed-up for clang's testsuite on my machine (debug build)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions