28 May
2004
28 May
'04
12:17 p.m.
While I've got your ear ... Is it possible to prefetch objects in the threads' object cache? So that instead of loading objects on demand, I could force the loading at start-up?
Iterate over them. Eg. for p in context.Catalog(meta_type="whatever"): p.getObject() They should now all be in memory. (I trust I'll be corrected if I'm talking thru my hat! ;) ) -- Jean Jordaan http://www.upfrontsystems.co.za /training <-- Zope/Plone training! /training/af <-- Nie af nie, Afrikaans.