Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-11-26 07:58:34


>I wrote myself a small, simple allocator to be used by query_matches; I
>don't think that it is very portable currently. Instead of freeing
>chunks attempted to be deallocate()d, it adds them to a singly linked
>list and reuses them upon successive allocations of chunks of the same
>size. It has significantly improved the performance of the entire program.
>
>
>- is my analysis just accurate for my case or is what I observed the
>general behavior of query_match?
>- am I reinventing anything?
>- is there interest to boostify this allocator?

I would expect that to be a reasonably general observation - using
something like SGI's default allocator should produce the same result.

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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