instant team mailing list archive
-
instant team
-
Mailing list archive
-
Message #00246
Re: import_module
On Thu, Sep 04, 2008 at 03:59:52PM +0200, Martin Sandve Alnæs wrote:
> I know, the in-memory cache isn't quite done. I'll look at it.
ok.
It's important that this step is fast, so it should be as simple as
possible. Isn't it just a matter of doing
if object in cache:
return cache[object]
signature = object.signature()
if signature in cache:
return cache[signature]
Then look at the disc-cache
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups
References