-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2 Apr 2006, at 20:36, Dieter Maurer wrote:

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,

I'm sure you have some code samples or ideas for how to make that happen, right?

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEN4t2RAx5nvEhZLIRAoJiAKCy2XhaLoRp/5k+pCFA2bNLMrj85wCfRIJk
bme937qyrXLyLjNzLPiJE/A=
=pEMP
-----END PGP SIGNATURE-----
_______________________________________________
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

Reply via email to