"Diethelm Guallar, Gonzalo" wrote:
> 
> Here is more information: I noticed that on every call to
> JavaBaseFactory::getAssembler(), the line
> 
>   Vector packages = TurbineResources.getVector("module.packages");
> 
> returns a Vector which is one element bigger than the last
> time this function was called. This also means that the
> loop that gets executed immediately after gets increasingly
> bigger.
> 
> Why would the Vector associated with module.packages grow
> every time? I'm researching...
> 
> --
> Gonzalo A. Diethelm
> [EMAIL PROTECTED]
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


I am talking without researching the new code, but I expect that
JavaBaseFactor.getAssembler() should be called approximately 4 or 5
times depending on how many assemblers are defined.  Why is it being
called 84 times, is the more important question?

The vector grows with each new Assembler because it assumes it might be
the first and adds the default to the packages Vector.

John McNally


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to