>
> Would there be significant performance issues with storing all this extra
> stuff in the registry, every hit? While I appreciate you can prevent it
> being stored by dropping the return value, you don't want to be altering
> your reusable code on every project depending on whether you need the
> resource later.
I wouldn't think there would be much of a performance hit, if I am
correct the Registry only stores the reference to the object, assuming
you use it wisely you will only be storing references to objects
already instantiated and in memory. Obviously if you use it to store
non object data etc performance would be an issue.
> --
> View this message in context: http://www.nabble.com/Proposed-addition-to-Zend_Application-API-tp23023384p23035045.html
> Sent from the Zend MVC mailing list archive at Nabble.com.
>
>
--
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------
没有评论:
发表评论