Id recommend all the above but just for reference "objectIds" is faster than "objectValues". -- Andy McKay, Developer. ActiveState. ----- Original Message ----- From: "Casey Duncan" <cduncan@kaivo.com> To: "Brett Carter" <brett@kavi.com>; <zope-dev@zope.org> Sent: Tuesday, November 28, 2000 7:58 AM Subject: Re: [Zope-dev] objectValues performance
Brett Carter wrote:
I have a folder with greater than 5000 ZClass instances in it. It takes > 5mins to do an objectValues for every object in the folder - is there a higher perfomance call I could make? -Brett
Standard folder performance degrades pretty quickly once you get a lot of objects in it. There are two solutions to this:
Subdivide your objects into multiple folders. Use a BTreeFolder which should be much faster.
You can download the BTreeFolder product here: http://www.zope.org/Members/hathawsh/BTreeFolder/
hth, Casey Duncan
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )