[Zope] DTML query

Michel Pelletier michel@digicool.com
Sun, 26 Sep 1999 01:36:34 -0400


Damien Morton wrote:
> 
> Is there any reason why DMTL docs cant be translated and compiled into .pyc
> files? Would eliminating an interpreter layer result in a performance
> increase?

When you edit a DTML document, the contents get parsed and compiled into
something similar to a .pyc.  The simularity is in that fact that the
code is compiled into a 'bytecodish' representation (actually a
structure of nested DTML objects).

Most of that code is written in C, so it is pretty fast.  If you find
any particular areas you thing could bei mproved, let us know.

-Michel

> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )