From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2007-12-30 21:19:50
On 30/12/2007, Robin <al_at_[hidden]> wrote:
> I've been testing out boost pool allocator, and my results shows it's slower
> than the STL allocator. I'm using VSNet 2005 SP1. See test code below.
My understanding is that the pool allocator is made for repeated
allocation and deallocation of same-sized blocks, in which case the
result makes sense. I think it's more intended for use with
node-based containers such as list and map.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk