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

2005-04-06 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

[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: In our