23 Oct
2006
23 Oct
'06
2:03 p.m.
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.