Use boost::intrusive_ptr. *Much* faster.