|
Boost Users : |
Subject: Re: [Boost-users] Boost.Pool - Are you using this library, please can we have your input?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-01-18 16:36:11
On 18/01/2011 12:58, Paul A. Bristow wrote:
> We'd like input from users about:
>
> 1 Things missing or wrong from the docs. More up to date references?
BOOST_PREVENT_MACRO_SUBSTITUTION should probably not appear in the docs.
BOOST_STATIC_CONSTANT should probably be expanded.
new[] appears as new\[\] in the docs.
Page 30, item 11, the description of pool::free seems to be wrong.
Also, did you really mean for protected member functions to appear in
the docs? Some directly refer to types in the details namespace.
The documentation of next_of is clearly lacking. What does it do? Is it
a mechanism to iterate the pool?
> 2 Things missing (or don't work well) from Pool.
I've never used Boost.Pool before, but I'm considering using it now in a
compiler project for the management of the nodes of the AST, which are
all of the same type (a boost::variant).
I'm a bit puzzled at one thing though: why is object_pool::free O(n)?
Couldn't it be O(1) like for the other interfaces? I suppose that's
because it tries to be order preserving, but I don't see any reason why
that should be forced on users.
>
> 3 New things that you would like (this is not a promise!).
Ability to choose the boundary used when reclaiming memory from the system.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net