Am 28.09.2009 11:18, schrieb Remy Blank:
Christian Boos wrote:But we can think about alternatives. For example, having a thread local cache for model objects which could make the retrieval of an already instantiated object from its resource cheap. Other ideas welcomed.Yes, I had the same thought after implementing the new cache infrastructure on trunk. We should have some kind of per-request cache. I'd rather use the Request object for that, though, instead of a thread-local. That way, it gets automatically discarded at the end of the request.
True but in the context of IPermissionPolicy we don't have req :-) fs
smime.p7s
Description: S/MIME Cryptographic Signature
