
10 Jan
2006
10 Jan
'06
4:25 p.m.
David Maisonave wrote:
I believe the performance hit is coming from having to call new on the constructor. I'm wondering if there's a more efficient way to do reference counting that can avoid calling new.
Well... there are 1. intrusive_ptr 2. #define BOOST_SP_USE_QUICK_ALLOCATOR 3. dlmalloc 4. not calling reserve to make copy_ptr look worse :-)