|
Boost Users : |
Subject: Re: [Boost-users] Boost.Pool - Are you using this library, please can we have your input?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-01-18 16:43:24
AMDG
On 1/18/2011 1:36 PM, Mathias Gaunard wrote:
> 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.
>
It has to be order preserving to make the
destructor work.
In Christ,
Steven Watanabe
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