[llvm-commits] Fwd: Patch for review: Speeding up ScheduleDAG computations

Chris Lattner clattner at apple.com
Wed Mar 5 19:52:04 PST 2008


On Mar 5, 2008, at 4:11 PM, David Greene wrote:

> On Tuesday 04 March 2008 11:30, Evan Cheng wrote:
>
>>> I'd like to understand better why Evan and Chris are some much  
>>> against
>>> std::set? From some mails I got the impression that std::set
>>> implementation is very inefficient on Darwin or PowerPC? Is it
>>> correct? Or do you dislike that fact that std::set uses dynamic  
>>> memory
>>> allocation extensively?
>>
>> Right, it's very malloc intensive. That's the main issue.
>
> So why not define an allocator for it?

See the previous response.

-Chris



More information about the llvm-commits mailing list