Re[2]: [Zope] structured-text perfomance problem

Андрей Пучин Андрей Пучин
Mon, 3 Dec 2001 19:19:18 +0300


May be i can describe this problem more precisely if you say me what
can i do for it.

I can reproduce that, but can't build a testcase.. it works fine.

Friday, November 30, 2001, 4:42:12 PM:

AJ> If this problem is reproducable and if you have a testcase, please submit it
AJ> to the collector.

AJ> Andreas
AJ> ----- Original Message -----
AJ> From: "Андрей Пучин" <nash@garant.ru>
AJ> To: <zope@zope.org>
AJ> Sent: Friday, November 30, 2001 08:14
AJ> Subject: [Zope] structured-text perfomance problem


AJ> Hi!

AJ> I try to render a lot of HTML-text using:

AJ> <dtml-in "getHTML()">
AJ>   <dtml-var sequence-item>
AJ> </dtml>

AJ> where sequence-item is single paragraph of HTML. If i do this, the
AJ> text isn't displayed correctly. The end of array returned by getHTML()
AJ> not displayed... it looks like this:

AJ>             <p><DIV ID="COMMENT"><P ALIGN="JUSTIFY"><SPAN><FONT
COLOR="Fuchsia">><I><A HREF="346,0" onClick="gotoLink(this)">См. комментарий
AJ> к статье 37 Конституции РФ</A></I></FONT></SPAN></P></DIV></p>

AJ>             <p><DIV ID="COMMENT"><PRE></PRE></DIV></p>

AJ>             <p><DIV ID="COMMENT"><A NAME="348"></A><P
ALIGN="CENTER">><B>Статья 38</B></P></DIV></p>

AJ>             <p><DIV ID="COMM
AJ>                            ^^^^^^^^^ here it breaks

AJ> When the fmt=structured-text is specified for dtml-var tag all text
AJ> displayed correctly, but it takes too long time.

AJ> Do you now any perfomance tricks&tips???

AJ> Regard,
AJ> Andrew


AJ> _______________________________________________
AJ> Zope maillist  -  Zope@zope.org
AJ> http://lists.zope.org/mailman/listinfo/zope
AJ> **   No cross posts or HTML encoding!  **
AJ> (Related lists -
AJ>  http://lists.zope.org/mailman/listinfo/zope-announce
AJ>  http://lists.zope.org/mailman/listinfo/zope-dev )



AJ> _______________________________________________
AJ> Zope maillist  -  Zope@zope.org
AJ> http://lists.zope.org/mailman/listinfo/zope
AJ> **   No cross posts or HTML encoding!  **
AJ> (Related lists - 
AJ>  http://lists.zope.org/mailman/listinfo/zope-announce
AJ>  http://lists.zope.org/mailman/listinfo/zope-dev )



С уважением,
Андрей Пучин