[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Whitespaces against efficency
Subject: Whitespaces against efficency From: "Tangi Vass" <tangivass@xxxxxxxxxxxxxx> Date: Fri, 7 Apr 2000 18:47:39 +0200 |
Hi, I'm in the profiling stage of a web server based on XML (with Sun's parser) / XSLT (with XT). Parsings and processings beeing very time consuming (between 95 and 99% of the total time), we have developped a sophisticated cache that handles dependencies (between DOM and files, processing result and processing inputs, etc...), but that's not enough ! Using Intuitive's OptimizeIt, I saw that the next() method of com.jclark.xsl.dom.SiblingNodeIterator is very time consuming. I guess that's because my DOM trees have a lot of unuseful (except for indenting purposes) whitespaces text nodes. How is it possible to remove them? I tried the org.w3c.dom.Element.normalize() and com.sun.xml.tree.ElementEx.trimToSize() methods but the result is not tremendous! Any suggestion? Tangi XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Getting all the attribute value, Selva, Francis | Thread | Re: Whitespaces against efficency, Mike Brown |
Re: JavaScript error in CDATA secti, David Carlisle | Date | RE: Getting all the attribute value, Ben Robb |
Month |