On Mon, October 23, 2006 16:03, Peter Dimov wrote:
Leon Mlakar wrote:
You can override the allocator used for the internal allocation of the control block by using the shared_ptr constructor taking three arguments (it's a relatively new feature) but judging by the numbers, there isn't much point in doing so, as the default allocator is good enough. 2% isn't a significant difference and it may well be the case that the default could be faster in real code.
It's not in 1.33.1, is it? It may not bring performance benefits, still, it is a usefull feature to have.
No, it isn't in 1.33.1. It will be in 1.34, though. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
But 1.33.1 uses it internally? Since after defining this macro I was able to measure some performance benefits. With Kind Regards, Ovanes Markarian