[llvm-commits] [llvm] r82312 - /llvm/trunk/lib/Support/CommandLine.cpp

Chris Lattner clattner at apple.com
Sat Sep 19 11:53:17 PDT 2009


On Sep 19, 2009, at 3:01 AM, Benjamin Kramer wrote:

> Author: d0k
> Date: Sat Sep 19 05:01:45 2009
> New Revision: 82312
>
> URL: http://llvm.org/viewvc/llvm-project?rev=82312&view=rev
> Log:
> 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)

Very nice!!

-Chris



More information about the llvm-commits mailing list