Re: [Zope-CMF] Re: [Performance] "listFilteredActionsFor" unnecessarily expensive

2005-04-06 Thread Alec Mitchell
On Wednesday 06 April 2005 08:14 am, Tres Seaver wrote: > Florent Guillaume wrote: > > Dieter Maurer <[EMAIL PROTECTED]> wrote: > >>In our regular profiles, "listFilteredActionsFor" belongs to > >>the top consumers of CPU time. > >> > >>Recently, I found the main culprit (in CMF 1.4): > >> > >>

[Zope-CMF] Re: [Performance] "listFilteredActionsFor" unnecessarily expensive

2005-04-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Guillaume wrote: > Dieter Maurer <[EMAIL PROTECTED]> wrote: > >>In our regular profiles, "listFilteredActionsFor" belongs to >>the top consumers of CPU time. >> >>Recently, I found the main culprit (in CMF 1.4): >> >> It is the completely u

[Zope-CMF] Re: [Performance] "listFilteredActionsFor" unnecessarily expensive

2005-04-05 Thread yuppie
Hi Alec! Alec Mitchell wrote: This is duplicated in CMFPlone as well, so it can be removed there too. I think the purpose of this may have been to eliminate duplicate actions defined in different action containers (so that one could e.g. override an object action defined sitewide with one defin

[Zope-CMF] Re: [Performance] "listFilteredActionsFor" unnecessarily expensive

2005-04-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: > In our regular profiles, "listFilteredActionsFor" belongs to > the top consumers of CPU time. > > Recently, I found the main culprit (in CMF 1.4): > >It is the completely unnecessary: > > if not action in catlist: >