zongaro 2002/11/05 14:06:53
Modified: java/src/org/apache/xml/dtm/ref/sax2dtm Tag: XSLTC_DTM
SAX2DTM.java
Log:
Changed constructor used to create m_chars from FastStringBuffer(5,13) to
FastStringBuffer(10,13). The former incremented the size of m_char in chunks
of 32 characters, while the latter increases it in chunks of 1024. That makes
a big difference for most documents, both while building the DTM and during
transformation. The xslt20 branch was already using FastStringBuffer(10,13).
Revision Changes Path
No revision
No revision
1.28.2.5 +1 -1
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.java
Index: SAX2DTM.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.java,v
retrieving revision 1.28.2.4
retrieving revision 1.28.2.5
diff -u -r1.28.2.4 -r1.28.2.5
--- SAX2DTM.java 24 Aug 2002 11:33:49 -0000 1.28.2.4
+++ SAX2DTM.java 5 Nov 2002 22:06:53 -0000 1.28.2.5
@@ -118,7 +118,7 @@
* Made protected rather than private so SAX2RTFDTM can access it.
*/
//private FastStringBuffer m_chars = new FastStringBuffer(13, 13);
- protected FastStringBuffer m_chars = new FastStringBuffer(5, 13);
+ protected FastStringBuffer m_chars = new FastStringBuffer(10, 13);
/** This vector holds offset and length data.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]