[Zope-CMF] howto avoid loading of datetime-objects when accessing
a portal_catalog brain
Joachim Schmitz
js at aixtraware.de
Fri Oct 19 05:13:25 EDT 2007
Andreas Jung schrieb:
>
>
> --On 19. Oktober 2007 10:03:43 +0200 Joachim Schmitz <js at aixtraware.de>
> wrote:
>
>> Hi,
>>
>> If one iterates over the result of a portal_catalog search, for each
>> brain there are about 8 datetime objects loaded (one for each dateindex),
>> which quickly fills the memory.
>> how can I access only the brain id, or postpone the loading of the
>> datetime objects until I really access them ?
>
>
> This would work only if the DateTime objects would be persistent
> subobjects.
Do you mean this would only "happen" ?
or the loading of datetime objects cannot be avoided ?
--
Gruß Joachim
More information about the Zope-CMF
mailing list