Re: [Zope-CMF] howto avoid loading of datetime-objects when accessing a portal_catalog brain

2007-10-19 Thread Dieter Maurer
Joachim Schmitz wrote at 2007-10-19 10:03 +0200: 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 You can get the brain id via

Re: [Zope-CMF] howto avoid loading of datetime-objects when accessing a portal_catalog brain

2007-10-19 Thread Joachim Schmitz
Andreas Jung schrieb: --On 19. Oktober 2007 10:03:43 +0200 Joachim Schmitz [EMAIL PROTECTED] 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

[Zope-CMF] howto avoid loading of datetime-objects when accessing a portal_catalog brain

2007-10-19 Thread Joachim Schmitz
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 ?

Re: [Zope-CMF] howto avoid loading of datetime-objects when accessing a portal_catalog brain

2007-10-19 Thread Andreas Jung
--On 19. Oktober 2007 10:03:43 +0200 Joachim Schmitz [EMAIL PROTECTED] 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