>
> Also, I don't think it saves any time if you create the pool and then
> immediately extract an object from the pool, so that would need to be
> documented.
>
> Stephen
>
> The act of creating an object when you hit an empty object pool is
important to grow the pool size even if you are not the requestor that
eventually utilizes that object.

You are correct, if there are no objects returned to the pool (like when you
have a fresh pool), then you get no performance improvement.  However, you
get no performance hit either.

Reply via email to