--- David Abrahams <dave@boost-consulting.com> wrote:
> "E. Gladyshev" <egladysh@yahoo.com> writes:
>
>> Are you sure that
>> there's no good general-purpose allocator which they can use?
>
>Yes, I am sure. I shipped one of my libraries to a guy who
>works on various DSP chips. The native memory allocator
>on one of the DSP was very slow (some specific issues with
>how the DSP addresses the memory, I don't remember the details).
>
>This guy had to add his own new/delete operator to some of
>my internal classes to get about 10 times performance improvement.
>
>No, I really don't think that there is a hope for general purpose allocators.
If it was a system wide performance problem on that DSP wouldn't he have been better off replacing the system allocator completely rather then only for a few classes?
Glen