Yuppie already has considerable sped up "listFilteredActionsFor" for CMF 1.5. However, even after his optimizations "listFilteredActionsFor" can still consume lots of time. I found simple situations where it had spend more then 10 percent of total request time in "testCondition".
I propose to make the category lists lazy objects that perform condition and permission evaluation only when they are accessed. This means that action categories not used on a specific page would not have the expensive "testCondition" evaluated. -- Dieter _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests