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 | 543d9b2fba6e9b4ebf296ebaecd4ca74e41b3709 (patch) | |
tree | a29daab2882ea021fc7a7035467d0c146ae67ea7 /llvm/lib/Support/StringRef.cpp | |
parent | 9827ad39a7a76802f5ec6f08a833d3ff12f74077 (diff) | |
download | llvm-543d9b2fba6e9b4ebf296ebaecd4ca74e41b3709.zip llvm-543d9b2fba6e9b4ebf296ebaecd4ca74e41b3709.tar.gz llvm-543d9b2fba6e9b4ebf296ebaecd4ca74e41b3709.tar.bz2 |
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)
llvm-svn: 82312
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions