[Zope-dev] dtml-in performance

Jens Vagelpohl jens@digicool.com
Thu, 05 Apr 2001 00:16:01 -0400


call the daatabase query in an external method and convert the result to a
simple object (like a dictionary), then pass that back and iterate over it

jens


on 4/4/01 20:54, Brett Carter at brett@kavi.com wrote:

> What can I do to maximize the peformance of a dtml-in statement?
> When iterating over a 2000 row database query, it takes about 20
> seconds - time mostly spent doing security checks, and calling
> __getitem__ in DT_InSV.py.  Is the performance of dtml-in just slow?
> -Brett
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>