[Zope-dev] objectValues performance

Casey Duncan cduncan@kaivo.com
Tue, 28 Nov 2000 08:58:19 -0700


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