Re: [Zope-dev] objectValues performance

2000-11-28 Thread Ender
Casey Duncan wrote: > > Brett Carter wrote: > > > Ok, I'll bite. Why doesn't the standard folder scale? Seems like a > > design flaw to me - why doesn't the default folder use catalogs or BTrees? > > -Brett i believe folders store objects as attrs which implies using a hash in __dict__ for lo

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Brett Carter
> "Michel" == Michel Pelletier <[EMAIL PROTECTED]> writes: Michel> Because massive scale is not a requirment of folders, they Michel> are meant to organize content for humans, not to be Michel> large-collection containers. A folder with 5000 elements Michel> is not very usef

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
Brett Carter wrote: > Ok, I'll bite. Why doesn't the standard folder scale? Seems like a > design flaw to me - why doesn't the default folder use catalogs or BTrees? > -Brett AFAIK a standard folder uses a linear search when you request an object from it (ala Python dictionaries, someone pleas

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Michel Pelletier
Brett Carter wrote: > > Ok, I'll bite. Why doesn't the standard folder scale? Seems like a > design flaw to me - why doesn't the default folder use catalogs or BTrees? > -Brett Because massive scale is not a requirment of folders, they are meant to organize content for humans, not to be large-

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Brett Carter
Ok, I'll bite. Why doesn't the standard folder scale? Seems like a design flaw to me - why doesn't the default folder use catalogs or BTrees? -Brett > "Casey" == Casey Duncan <[EMAIL PROTECTED]> writes: Casey> Brett Carter wrote: >>> I have a folder with greater than 5000 ZClass i

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Andy McKay
>; <[EMAIL PROTECTED]> 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

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
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 obj

Re: [Zope-dev] objectValues performance

2000-11-27 Thread Ender
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 use a catalog. (which only help if you want a filtered set or a schema attr

[Zope-dev] objectValues performance

2000-11-27 Thread Brett Carter
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 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.