[Zope] page templates and "python:"
Andreas Jung
lists at zopyx.com
Mon Jul 3 09:38:05 EDT 2006
--On 3. Juli 2006 15:38:58 +0200 Claudio Battaglino
<c.battaglino at metaware.it> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060703/0490c2bc/attachment.bin
More information about the Zope
mailing list