
On Fri, Jan 16, 2009 at 1:40 PM, Frank Mori Hess <frank.hess@nist.gov> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've been doing a little benchmarking (trivial benchmark program attached) of boost::make_shared performance. With svn trunk, I don't see much improvement from using make_shared, in fact for large objects it is much slower. I would guess this is due to the increased overhead of copying sp_ms_deleter for large types. I wonder if anyone has any ideas for improving the situation?
Benchmarks alone don't mean much without understanding your use case. What are you trying to do, for which boost::make_shared's performance is inadequate? Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode