commit | 7547f74b52aa51f9a55105bd95cd25bcfa428e5b | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Mon Mar 23 21:50:40 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Mon Mar 23 21:50:40 2009 +0000 |
tree | 59ec46bc774fc40d3afec93127c42a0a95ec9b5e | |
parent | afcf80f3405690dcf4730dae24e3775bc64bcd78 [diff] |
Driver: Make argument parsing fast. On a synthetic command line consisting of almost all defined options, this drops wall time from .00494 to .00336 and user time from .00258 to .00105. On the same benchmark, clang-driver is about 15% faster than the primary gcc driver and almost twice as fast as the gcc driver driver. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67564 91177308-0d34-0410-b5e6-96231b3b80d8