Re: [Zope-dev] dtml-in performance

2001-04-05 Thread Joachim Werner
> > 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 > > > > A

Re: [Zope-dev] dtml-in performance

2001-04-05 Thread Joachim Werner
> > 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 > > > > A

Re: [Zope-dev] dtml-in performance

2001-04-05 Thread Casey Duncan
Brett Carter 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? > -Br

Re: [Zope-dev] dtml-in performance

2001-04-04 Thread Jens Vagelpohl
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 iterati

Re: [Zope-dev] dtml-in performance

2001-04-04 Thread Andy
Yes, but iterating over a list of 2000 rows is a long process. Things like using mapping slow it down even further as you get each column. Less rows will make all the difference. - Original Message - From: "Brett Carter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 0