Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2002-10-07 13:38:13


Peter Dimov wrote:
>
> Not a trap. The numbers are real. You can do
>
> shared_ptr<int> px(new int);
>
> in under a microsecond on an Athlon/1.4. On some platforms, using
> std::allocator instead of plain new results in a 30% speedup, but what real
> program would need to allocate that many shared_ptrs per second? :-)

Can you give some more information? 30% is really cool *if* it can be
done without the user changing his code...

Regards, Daniel

--
Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

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