Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2003-10-06 16:15:58

Gregory Colvin wrote:


>> There is no graph scanning, everything works instantaneously,
>> reasonnably
>> fast and:
>> - sizeof("indicator") == sizeof(long)
>> - sizeof(shifted_ptr<T, root_collector>) == sizeof(void *) * 2
> That is the same size as shared_ptr. So why not put the effort into
> a garbage collecting allocator for shared_ptr?

It is the same size but it is still twice faster, the memory map is not
fragmented, destructors will be called on time (not obvious) & it is not
requiring too much extra memory. It is a better overall, I would like it to
be benchmarked



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