RE: [picocontainer-dev] Recursive injection

"Putrycz, Erik" <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
I just had a look at the different injectors code. What kind of
performance gain are you looking for?

I don't see where a container recorder would bring performance
improvement... as a rough guess the most consuming ops are all the
reflexion ones. The constructor and other injector elements are already
cached in the injectors. getComponent should be as fast as possible on
the second call.

Erik.

> >
> > Where could I find the "container recorder"?
> > I'd be curious to see what it caches to improve
> > performance.
> 
> org.nanocontainer.reflection.DefaultContainerRecorder
> It is  proxy wrapper for MPC, which intercepts all
> calls to it and stores method invocations in
> array list.
> 
> those can be replayed later on another fresh contaienr
> instance - works with all scripting builders,
> but sometimes introduces subtle problems due to
> sharing of constant values.
> 
> regards,
> 
> 
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> JTec quality components: http://www.pribluda.de/projects/
> 
> 
> 
>
________________________________________________________________________
__
> __________
> Looking for a deal? Find great prices on flights and hotels with
Yahoo!
> FareChase.
> http://farechase.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.