Boost logo

Boost :

Subject: Re: [boost] [Any] Reference counting
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-04-05 03:35:02


Michael Howell skrev:
> The attached patch add reference counting "implicit sharing" to Boost.Any. It
> is my first patch to Boost, so it will probably need some changes.

If you want to improve the performance of any, the thing to do is to add
a small buffer optimization such that all buildin types (or equally
small UDT) are created on the stack.

See

http://www.codeproject.com/KB/cpp/dynamic_typing.aspx

-Thorsten


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