[Zope] Re: Problem with Python Script in RAM Cache

Peter Baeuerle pit.baeuerle at t-online.de
Fri Oct 8 11:58:29 EDT 2004


Tres Seaver <tseaver <at> zope.com> writes:

> The "sequence of result objects" is a Lazy{Filter,Map,Cat} of catalog 
> brains objects;  the brains objects can't be pickled.
> 
> Have you thought about using a TopicIndex for your complex query?  It 
> has better performance than caching, because it computes whether an 
> object matches your query *once* (actually, each time you recatalog the 
> object).
> 
> Tres.

Thanks a lot for your rapid response, Tres.
I do not yet have experiences with a TopicIndex, but a quick look into 
the documentation tells me that this seems to be a good solution for 
my performance problem, indeed. I will try that.

Best Regards
Peter





More information about the Zope mailing list