[llvm-commits] [llvm] r52700 - /llvm/trunk/lib/VMCore/Constants.cpp
Owen Anderson
resistor at mac.com
Wed Jun 25 00:02:47 PDT 2008
On Jun 24, 2008, at 10:27 PM, Chris Lattner wrote:
>
> On Jun 24, 2008, at 10:09 PM, Owen Anderson wrote:
>
>> No, it's significantly slower because resize() has to zero the
>> elements.
>
> Also, what happens if you add a new method where you pass in a
> SmallStringImpl and the method fills it in. This would avoid the heap
> allocation in common cases.
>
I'll give it a try.
--Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080625/aee5ee92/attachment.bin>
More information about the llvm-commits
mailing list