[llvm-commits] [llvm] r52690 - /llvm/trunk/lib/VMCore/Constants.cpp
Chris Lattner
clattner at apple.com
Tue Jun 24 15:31:15 PDT 2008
On Jun 24, 2008, at 2:58 PM, Owen Anderson wrote:
> Author: resistor
> Date: Tue Jun 24 16:58:29 2008
> New Revision: 52690
>
> URL: http://llvm.org/viewvc/llvm-project?rev=52690&view=rev
> Log:
> In ConstantArray::getAsString(), we know the size of the resultant
> string in advance so we can pre-allocate it and just fill in
> the entries. This improves the time for the AsmPrinter on
> InstructionCombining.cpp from 0.4248s to 0.3370s.
Whoa!
-Chris
More information about the llvm-commits
mailing list