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 [EMAIL PROTECTED] 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  -  [EMAIL PROTECTED]
> 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 )
> 


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to