Mike Matrigali wrote:


Daniel John Debrunner wrote:
Mamta Satoor wrote:

Hi Dan,
The problem we are trying to solve is provide a way to Store so that it can call a method (say it's called getInstanceGetterForFormatIDandCollationType) on DVF with format id & collation type and get an InstanceGetter for that combination.


Why use InstanceGetter here?
Current store code uses InstanceGetter's, should that not be the case?
As I have said the history of this predates when store knew it had
DVD's.  Is there no performance to be had by the current use of
InstanceGettor's where store makes one call get an InstanceGettor and
then muliple calls on it to allocate possibly many objects based off
of it?

DVD's can also act as their own factory using getNewNull(), that would be more efficient than InstanceGetter. As you say this change could have been made once the switch to using DVDs consistently through the system was done.

Dan.

Reply via email to