|
Boost : |
From: Ihsan Ali Al Darhi (iad929_at_[hidden])
Date: 2002-08-09 20:21:32
----- Original Message -----
From: Peter Dimov <pdimov_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, August 10, 2002 7:01 PM
Subject: Re: [boost] Proven ptr<>
> From: "Philippe A. Bouchard" <philippeb_at_[hidden]>
> > Hi,
> >
> > Here is the proof ptr<> is faster and requires a lot less memory
than
> > shared_ptr<>.
> >
> > The results speak from themselves:
> > http://groups.yahoo.com/group/boost/files/ptr/
> >
> > I know I don't take care of exceptions, but even with that the
numbers
> > start doubling or quadrupling...
>
> Philippe, try using #define BOOST_DISABLE_THREADS to get a fair
comparison.
> Looking at the times, I get the feeling that shared_ptr is using the
thread
> safe path. Apologies if this is not the case.
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk