
10 Sep
2008
10 Sep
'08
4:26 p.m.
Hendrik Schober wrote:
Hendrik Schober wrote:
[...]
Thanks everybody for their answers. I hadn't seen the possibility to pass custom allocators. In the end I just #define'd 'BOOST_SP_USE_QUICK_ALLOCATOR' and on my platform that was faster than 3 out of 4 of the proprietary allocators used. So I'll go ahead and test this on the other platforms we need. If it works just as well there, I'll merge my changes into the trunk.
IIRC the pool of sp counted objects used won't be cleaned up until the OS reclaims the memory at program termination. If you run any sort of leak detector this can be annoying. Thanks, Michael Marcin