Then probably you don't need a pool.
A pool is useful exactly when you want to re-use the object, for performance
issues.
In your case, seems like you need a factory, not a pool.

Rodrigo


2007/4/11, Tom Muldoon <[EMAIL PROTECTED]>:

In returnObject(), can I discard the current object and construct a new
one? The reason that I ask has to do with the fact that resetting the
current object to its initial state is significantly longer than simply
constructing a new object.

Thanks, Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to