[LLVMdev] std::string
Chris Lattner
clattner at apple.com
Sat Jan 19 20:00:13 PST 2013
On Jan 19, 2013, at 7:04 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> On 1/19/2013 8:36 PM, Chris Lattner wrote:
>>
>> See:
>> http://llvm.org/docs/ProgrammersManual.html#picking-the-right-data-structure-for-a-task
>
> Were the "small n" characteristics the main motivation?
It is one of the motivations.
> Memory-wise, STL classes allow user-defined allocators, so use of things like memory pools should be relatively straightforward. Just wondering... :)
Yes, you get some of the benefits that way, but not all of it.
-Chris
More information about the llvm-dev
mailing list