17 Oct
2002
17 Oct
'02
8:51 p.m.
On Thursday 17 Oct 2002 9:48 pm, VanL wrote:
Hello,
I have a zope setup that does a ZCatalog Query, grabs each item (i.e., it does not use the query-return objects), and then does some processing on each returned object.
In pseudocode, whenever I do a ZCatalog Query, I do the following:
return [myFunction(getObject(x)) for x in catalog.search(myquery)]
The problem is that some of the query response will be quite large -- up to 10,000 objects returned. Doing a dtml-in over a result set this size does not seem to be feasible -- the browser times out, for one thing.
Are you sure the time is spent in the dtml, rather than in the pseudocode loop your presented above?