Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-08-29 22:35:43

Philippe A. Bouchard wrote:

>Greg Colvin wrote:
>>The compiler on my machine emits a function call for dynamic_cast to
>>void*, plus whatever that function does, which seems a lot of overhead
>>compared to the two masks and two memory references than an implemention
>>based on size- segregated allocation would require.
>>Perhaps the compilers you have tested do a better job?
The sort test may not be changing the refcounts that much. This may be
all the values are the same. Try using random numbers or just reverse
the order.
Of course, after the 1st sort, it wouldn't matter anymore. However, I
did this
and I got much different numbers. Please see:


Boost list run by bdawes at, gregod at, cpdaniel at, john at