--On 3. Juli 2006 15:38:58 +0200 Claudio Battaglino <[EMAIL PROTECTED]> wrote:

Jens Vagelpohl ha scritto:

Could it be that, using a Python expression, I have an overhead because
Zope loads a Python interpreter each time it finds a "python:"?
If this is true then it is better to use path expression, if possible.


nah....Python expression are executed in a sandbox (RestrictedPython) which will introduce additional overhead..but let numbers speak...write a loop in TAL and compare the performance of path expressions vs. python expressions... don't guess, but measure...

-aj

Attachment: pgpZL6GLQNSgL.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to