06 Apr 2007 18:53:47 -0500, Gabriel Dos Reis <[EMAIL PROTECTED]>:
"J.C. Pizarro" <[EMAIL PROTECTED]> writes:

[...]

| > The compiler should be able to eliminate many of the conditionals.
| Yes but no, there are cases that the compiler can't eliminate the
| conditionals that depend on run-time, e.g., "n" is non-constant parameter.

What is the performance penalty compared to the actual allocation work
on "typical" modern systems?

-- Gaby


It depends in the people's tastes.

If the allocator is slow then there is no performance penalty.

But if someone implements one fastest bucket-based quickallocator then
the performance penalty with this check is considerable.

I remember the Amdahl Law.

J.C. Pizarro

Reply via email to