Boost logo

Boost :

From: Glen Knowles (gknowles_at_[hidden])
Date: 2003-08-26 21:42:32


--- David Abrahams <dave_at_[hidden]> wrote:
> "E. Gladyshev" <egladysh_at_[hidden]> 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



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk