Boost logo

Boost :

From: Ed Brey (brey_at_[hidden])
Date: 1999-07-09 08:56:02


The smart pointer documentation mentions that the efficiency of attached
versus detached reference counts in shared pointers came out to be about
the same under tests. It is not clear whether these tests were run
before or after the fixes were put in to prevent memory leaks if
allocating the detached reference count throws, but it appears as though
there were run before. Have the tests been rerun since then. I
would expect that adding the try blocks could significantly slow the
detached implementation and may create an imbalance in the force,
err, the efficiency.

Also, have any tests been done to compare code size of attached versus
detached, with the exception handling now included.

------------------------------------------------------------------------

eGroups.com home: http://www.egroups.com/group/boost
http://www.egroups.com - Simplifying group communications


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk