8 Oct
2004
8 Oct
'04
3:58 p.m.
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